summaryrefslogtreecommitdiff
path: root/actions/subscriptions.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/subscriptions.php
parentb791a835929c659d8dcf174553f7786fb45cf978 (diff)
off-by-one error in subscriptions
darcs-hash:20080521190640-84dde-04fc00048b044474488e7774053674231c96e355.gz
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r--actions/subscriptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index f111d0be2..3ec7a0122 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -45,7 +45,7 @@ class SubscriptionsAction 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();