* Fixed a bug in Special:Newimages that made it impossible to search for '0'
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 16 May 2005 04:47:51 +0000 (04:47 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 16 May 2005 04:47:51 +0000 (04:47 +0000)
RELEASE-NOTES
includes/SpecialNewimages.php

index c7c20a6..fde601c 100644 (file)
@@ -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 ===
index 0628b93..744eb0e 100644 (file)
@@ -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() ) );