summaryrefslogtreecommitdiff
path: root/actions/all.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-11 14:13:34 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-11 14:13:34 -0400
commitf4ed6059980afdaede47e33307c6432e83aea484 (patch)
tree8a3792052cf8d0949f5463155a54709a26b888ff /actions/all.php
parentd1215c4a85772ca21c4effd6a50103be157e7d08 (diff)
only show notice form if user is logged in, looking at own page
darcs-hash:20080611181334-84dde-e9045179a94f8c78af9d660c57a37ce6f5fc9776.gz
Diffstat (limited to 'actions/all.php')
-rw-r--r--actions/all.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/all.php b/actions/all.php
index 83401d422..06d88477d 100644
--- a/actions/all.php
+++ b/actions/all.php
@@ -47,6 +47,12 @@ class AllAction extends StreamAction {
common_show_header($profile->nickname . _t(" and friends"),
array($this, 'show_header'), $user);
+ $cur = common_current_user();
+
+ if ($cur && $cur->id == $profile->id) {
+ common_notice_form();
+ }
+
$this->views_menu();
$this->show_notices($profile);