From: CiaranG Date: Fri, 20 Mar 2009 22:02:35 +0000 (+0000) Subject: Use correct page information for notice search. See ticket #1333 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9a71297f4c915c11e573adafffeccf3ff65a31c;p=quix0rs-gnu-social.git Use correct page information for notice search. See ticket #1333 --- diff --git a/actions/noticesearch.php b/actions/noticesearch.php index eb4a072def..4aec416218 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -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() {