summaryrefslogtreecommitdiff
path: root/actions/subscribers.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-22 22:38:10 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-22 22:38:10 +0000
commitd6879bfe0c188b06f7b7730bb64af469d5c6e461 (patch)
tree3c85fbb8093001d5272a04cb4d1bf7c1751d061b /actions/subscribers.php
parent04d498784ff1892607a3aee65d76104192fe4af2 (diff)
Debug some of the subscriptions+tags problems
Diffstat (limited to 'actions/subscribers.php')
-rw-r--r--actions/subscribers.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/actions/subscribers.php b/actions/subscribers.php
index 408829b54..be9df2b12 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -75,7 +75,11 @@ class SubscribersAction extends GalleryAction
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
- $subscribers = $this->user->getSubscribers($offset, $limit);
+ if ($this->tag) {
+ $subscribers = $this->user->getTaggedSubscribers($this->tag, $offset, $limit);
+ } else {
+ $subscribers = $this->user->getSubscribers($offset, $limit);
+ }
if ($subscribers) {
$subscribers_list = new SubscribersList($subscribers, $this->user, $this);