Follow-up on r50351. Fix syntax errors in CategoryPage.php
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 8 May 2009 23:27:42 +0000 (23:27 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Fri, 8 May 2009 23:27:42 +0000 (23:27 +0000)
includes/CategoryPage.php

index 5ba858f..43516b0 100644 (file)
@@ -452,7 +452,7 @@ class CategoryViewer {
 
                $prevLink = wfMsgExt( 'prevn', array( 'escape', 'parsemag' ), $limitText );
                if( $first != '' ) {
-                       query[] = array( 'until' => $first );
+                       $query[] = array( '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[] = array( 'from' => $last );
                        $nextLink = $sk->link(
                                $title,
                                $nextLink,