]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixed pagination variable problem
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 25 Mar 2009 16:32:46 +0000 (12:32 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 25 Mar 2009 16:32:46 +0000 (12:32 -0400)
actions/noticesearch.php

index eb4a072defc73de18ba1d9a5425c7d4beed80ded..9058cf53c302d83ab6af1fc66c9602b8b032f2e6 100644 (file)
@@ -122,9 +122,10 @@ 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()
     {
         return true;