From: Ævar Arnfjörð Bjarmason Date: Mon, 16 May 2005 04:47:51 +0000 (+0000) Subject: * Fixed a bug in Special:Newimages that made it impossible to search for '0' X-Git-Tag: 1.5.0alpha2~166 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=9dc0b1ef68296f3027ee73ce270635e1a025ea16;p=lhc%2Fweb%2Fwiklou.git * Fixed a bug in Special:Newimages that made it impossible to search for '0' --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c7c20a69e0..fde601c5d4 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -191,6 +191,7 @@ Various bugfixes, small features, and a few experimental things: * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o, ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE crystalsvg theme. +* Fixed a bug in Special:Newimages that made it impossible to search for '0' === Caveats === diff --git a/includes/SpecialNewimages.php b/includes/SpecialNewimages.php index 0628b93c8e..744eb0ea70 100644 --- a/includes/SpecialNewimages.php +++ b/includes/SpecialNewimages.php @@ -29,7 +29,7 @@ function wfSpecialNewimages() { $limit = 48; $where = array(); - if ( !empty( $wpIlMatch ) ) { + if ( $wpIlMatch != '' ) { $nt = Title::newFromUrl( $wpIlMatch ); if($nt ) { $m = $dbr->strencode( strtolower( $nt->getDBkey() ) );