diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-25 12:32:46 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-25 12:32:46 -0400 |
commit | 1116526f0855af47b353722907c57e1b4285cddc (patch) | |
tree | bf0d87ec1fbbf0cbf8ef1eeef9d976464ecdd4a3 /actions/noticesearch.php | |
parent | 55e8a6ca1b0af8e05a7ee22735585ef5ebd66fc6 (diff) |
fixed pagination variable problem
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r-- | actions/noticesearch.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php index eb4a072de..9058cf53c 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; |