diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-10 18:25:47 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-10 18:25:47 -0400 |
commit | fba4b40e0ae12bb82ff58cd4f643f77a541f3bf6 (patch) | |
tree | 7051dfec9314c122c66a72194c3a46c7966e4548 /actions | |
parent | 10654ebf3572f07b178b2cc7e017b04e6f9e3084 (diff) |
get the profile to show it in the title
darcs-hash:20080610222547-84dde-7606c2f575ba482fef17a9ef306789c047aaddec.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/shownotice.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php index 2ede559e2..4b954d57b 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -32,7 +32,9 @@ class ShownoticeAction extends StreamAction { $this->no_such_notice(); } - if (!$notice->getProfile()) { + $profile = $notice->getProfile(); + + if (!$profile) { $this->no_such_notice(); } |