summaryrefslogtreecommitdiff
path: root/actions/noticesearch.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-25 12:32:46 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-03-25 12:32:46 -0400
commit1116526f0855af47b353722907c57e1b4285cddc (patch)
treebf0d87ec1fbbf0cbf8ef1eeef9d976464ecdd4a3 /actions/noticesearch.php
parent55e8a6ca1b0af8e05a7ee22735585ef5ebd66fc6 (diff)
fixed pagination variable problem
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r--actions/noticesearch.php5
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;