summaryrefslogtreecommitdiff
path: root/actions/subscriptions.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 10:41:54 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 10:41:54 -0400
commitab1f2ff9d07088c7a3607ee6d05b1042d735960d (patch)
tree8b9811c2997b0bc19ae02a5d576fe74e5994aad6 /actions/subscriptions.php
parent5f79bcdf51e0cbc17f62c6899207813f26a29214 (diff)
every user is subscribed to themselves
darcs-hash:20080722144154-84dde-80beabad9a681f2e12edb34ceb4ac249f4ce6705.gz
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() {