From: Evan Prodromou Date: Wed, 25 Mar 2009 16:32:46 +0000 (-0400) Subject: fixed pagination variable problem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1116526f0855af47b353722907c57e1b4285cddc;p=quix0rs-gnu-social.git fixed pagination variable problem --- diff --git a/actions/noticesearch.php b/actions/noticesearch.php index eb4a072def..9058cf53c3 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -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;