]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use correct page information for notice search. See ticket #1333
authorCiaranG <ciaran@ciarang.com>
Fri, 20 Mar 2009 22:02:35 +0000 (22:02 +0000)
committerCiaranG <ciaran@ciarang.com>
Fri, 20 Mar 2009 22:02:35 +0000 (22:02 +0000)
actions/noticesearch.php

index eb4a072defc73de18ba1d9a5425c7d4beed80ded..4aec416218a2f534e86fc8a0b2205783e1346f1d 100644 (file)
@@ -122,8 +122,8 @@ class NoticesearchAction extends SearchAction
 
         $cnt = $nl->show();
 
-        $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE,
-                          $this->page, 'noticesearch', array('q' => $q));
+        $this->pagination($page > 1, $cnt > NOTICES_PER_PAGE,
+                          $page, 'noticesearch', array('q' => $q));
     }
     function isReadOnly()
     {