From 9dc0b1ef68296f3027ee73ce270635e1a025ea16 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 16 May 2005 04:47:51 +0000 Subject: [PATCH] * Fixed a bug in Special:Newimages that made it impossible to search for '0' --- RELEASE-NOTES | 1 + includes/SpecialNewimages.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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() ) ); -- 2.20.1