]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get the profile to show it in the title
authorEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 22:25:47 +0000 (18:25 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 22:25:47 +0000 (18:25 -0400)
darcs-hash:20080610222547-84dde-7606c2f575ba482fef17a9ef306789c047aaddec.gz

actions/shownotice.php

index 2ede559e26e8b67656c6c17061379ca1570a6bf3..4b954d57ba64cc646141dba3081ebaf69ee4b594 100644 (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();
                }