From e9c48991178fcefc9b33e647f805858ae5fd3b9d Mon Sep 17 00:00:00 2001 From: Ilmari Karonen Date: Fri, 11 Jun 2010 19:28:28 +0000 Subject: [PATCH] followup to r67856: don't pass null as a query parameter value, even if it seems to work --- includes/specials/SpecialNewimages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1