summaryrefslogtreecommitdiff
path: root/actions/subscriptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r--actions/subscriptions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index e0643e0dc..5566acb41 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -38,6 +38,7 @@ class SubscriptionsAction extends GalleryAction {
function define_subs(&$subs, &$profile) {
$subs->subscriber = $profile->id;
+ $subs->whereAdd('subscribed != ' . $profile->id);
}
function div_class() {