summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index ee30c4416..c66718cfe 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -261,7 +261,7 @@ class ShowstreamAction extends StreamAction {
$notice->orderBy('created DESC');
- $page = $this->arg('page') || 1;
+ $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
$notice->limit((($page-1)*NOTICES_PER_PAGE), NOTICES_PER_PAGE + 1);