summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 14:36:45 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 14:36:45 -0400
commit5172a73e28eb2150967f466341ac1e0f7725d896 (patch)
tree789978a4fd6113de4e1db138e5aabc2a9703ece9 /actions
parent8bfc5bbc9f617c768d3adaa37bc913048d91393d (diff)
fixup subscription links
darcs-hash:20080521183645-84dde-45d943f0d2b784aac372244fcf7d7e62143a76cf.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 209e7ccda..42f1f04cd 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -82,6 +82,8 @@ class ShowstreamAction extends StreamAction {
$this->show_last_notice($profile);
+ $cur = common_current_user();
+
if ($cur && $cur->id != $profile->id) {
if ($cur->isSubscribed($profile)) {
$this->show_unsubscribe_form($profile);