X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshownotice.php;h=d09100f676aaf473e46e54aadd409f6ff1b1eb0c;hb=ddb656fcd2a3233b26e28987d2f3425944908d30;hp=688089f027fb1cc8cf488428ffecf24c8ef0e751;hpb=2b16baa76a31ffb4d3abb55bd84b2e6646f32104;p=quix0rs-gnu-social.git diff --git a/actions/shownotice.php b/actions/shownotice.php index 688089f027..d09100f676 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -103,7 +103,7 @@ class ShownoticeAction extends OwnerDesignAction $this->user = User::staticGet('id', $this->profile->id); - if (! $this->notice->is_local) { + if ($this->notice->is_local == Notice::REMOTE_OMB) { common_redirect($this->notice->uri); return false; } @@ -208,7 +208,7 @@ class ShownoticeAction extends OwnerDesignAction } /** - * Do not show local navigation + * Don't show local navigation * * @return void */ @@ -234,7 +234,7 @@ class ShownoticeAction extends OwnerDesignAction } /** - * Do not show page notice + * Don't show page notice * * @return void */ @@ -244,7 +244,7 @@ class ShownoticeAction extends OwnerDesignAction } /** - * Do not show aside + * Don't show aside * * @return void */