From a00a3882fa418e06308ac0ba2c57cac29896f147 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 9 May 2009 23:03:11 +0000 Subject: [PATCH] Follow-up on r50351. Fix adding key/value pair. --- includes/CategoryPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 43516b0c72..e35a7dec75 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -452,7 +452,7 @@ class CategoryViewer { $prevLink = wfMsgExt( 'prevn', array( 'escape', 'parsemag' ), $limitText ); if( $first != '' ) { - $query[] = array( 'until' => $first ); + $query['until'] = $first; $prevLink = $sk->link( $title, $prevLink, @@ -462,7 +462,7 @@ class CategoryViewer { } $nextLink = wfMsgExt( 'nextn', array( 'escape', 'parsemag' ), $limitText ); if( $last != '' ) { - $query[] = array( 'from' => $last ); + $query['from'] = $last; $nextLink = $sk->link( $title, $nextLink, -- 2.20.1