get the profile to show it in the title

darcs-hash:20080610222547-84dde-7606c2f575ba482fef17a9ef306789c047aaddec.gz
This commit is contained in:
Evan Prodromou 2008-06-10 18:25:47 -04:00
parent 10654ebf35
commit fba4b40e0a
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ class ShownoticeAction extends StreamAction {
$this->no_such_notice();
}
if (!$notice->getProfile()) {
$profile = $notice->getProfile();
if (!$profile) {
$this->no_such_notice();
}