summaryrefslogtreecommitdiff
path: root/actions/subscriptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r--actions/subscriptions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index d7ba0d624..3fbea2039 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -84,6 +84,8 @@ class SubscriptionsAction extends GalleryAction
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
+ $cnt = 0;
+
if ($this->tag) {
$subscriptions = $this->user->getTaggedSubscriptions($this->tag, $offset, $limit);
} else {
@@ -92,7 +94,7 @@ class SubscriptionsAction extends GalleryAction
if ($subscriptions) {
$subscriptions_list = new SubscriptionsList($subscriptions, $this->user, $this);
- $subscriptions_list->show();
+ $cnt = $subscriptions_list->show();
}
$subscriptions->free();