summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-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);