From 5172a73e28eb2150967f466341ac1e0f7725d896 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 14:36:45 -0400 Subject: fixup subscription links darcs-hash:20080521183645-84dde-45d943f0d2b784aac372244fcf7d7e62143a76cf.gz --- actions/showstream.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actions') 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); -- cgit v1.2.3-54-g00ecf