From fba4b40e0ae12bb82ff58cd4f643f77a541f3bf6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 10 Jun 2008 18:25:47 -0400 Subject: [PATCH] get the profile to show it in the title darcs-hash:20080610222547-84dde-7606c2f575ba482fef17a9ef306789c047aaddec.gz --- actions/shownotice.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/shownotice.php b/actions/shownotice.php index 2ede559e26..4b954d57ba 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(); }