From: Ilmari Karonen Date: Fri, 11 Jun 2010 19:28:28 +0000 (+0000) Subject: followup to r67856: don't pass null as a query parameter value, even if it seems... X-Git-Tag: 1.31.0-rc.0~36537 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=e9c48991178fcefc9b33e647f805858ae5fd3b9d;p=lhc%2Fweb%2Fwiklou.git followup to r67856: don't pass null as a query parameter value, even if it seems to work --- diff --git a/includes/specials/SpecialNewimages.php b/includes/specials/SpecialNewimages.php index 5bfba4a849..c4fb7c843d 100644 --- a/includes/specials/SpecialNewimages.php +++ b/includes/specials/SpecialNewimages.php @@ -216,7 +216,7 @@ function wfSpecialNewimages( $par, $specialPage ) { $nextLink = wfMsgExt( 'pager-older-n', $opts, $wgLang->formatNum( $limit ) ); if( $invertSort || ( $shownImages > $limit && $lastTimestamp ) ) { $query = array_merge( - array( 'until' => $lastTimestamp ), + array( 'until' => ( $lastTimestamp ? $lastTimestamp : "" ) ), $botpar, $searchpar );