diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-03 01:26:21 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-03 01:26:21 -0400 |
commit | f73d93fa7ae79f1e0b47d73fbdc1b214c6e559ae (patch) | |
tree | 62f67de1ed80cc9ac05a700d1269dc4bc47a6034 /actions/subscriptions.php | |
parent | d80c553e5f6e523de380d7c9dc0bbdb9d06cb45e (diff) |
only show subscription controls to owner
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r-- | actions/subscriptions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php index 4124abea4..42bdae10f 100644 --- a/actions/subscriptions.php +++ b/actions/subscriptions.php @@ -159,7 +159,10 @@ class SubscriptionsListItem extends SubscriptionListItem $this->showBio(); $this->showTags(); // Relevant portion! - $this->showOwnerControls(); + $cur = common_current_user(); + if (!empty($cur) && $cur->id == $this->owner->id) { + $this->showOwnerControls(); + } $this->endProfile(); } |