summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 15:06:40 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 15:06:40 -0400
commit0f0d50f06a841e4faed475aa5f73f8bc08bb3a39 (patch)
treefad66ea6d079878d6b5221d8e82ac3f4c90a0cc4 /actions/subscribed.php
parentb791a835929c659d8dcf174553f7786fb45cf978 (diff)
off-by-one error in subscriptions
darcs-hash:20080521190640-84dde-04fc00048b044474488e7774053674231c96e355.gz
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r--actions/subscribed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/subscribed.php b/actions/subscribed.php
index 3218e07b8..e8df331ee 100644
--- a/actions/subscribed.php
+++ b/actions/subscribed.php
@@ -49,7 +49,7 @@ class SubscribedAction extends Action {
# We ask for an extra one to know if we need to do another page
- $subs->limit((($page-1)*SUBSCRIPTIONS_PER_PAGE)+1, SUBSCRIPTIONS_PER_PAGE + 1);
+ $subs->limit((($page-1)*SUBSCRIPTIONS_PER_PAGE), SUBSCRIPTIONS_PER_PAGE + 1);
$subs_count = $subs->find();