X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshownotice.php;h=6055184fcdf2ced037e4cf8bde2dee2be15ebad2;hb=70fbdb6f94848c5c08b0b6e30905d875156b8233;hp=5501a0af42b0c6f38f566dda03b84f3cb8e2892e;hpb=36d619480a8f5fa06db5b54fe7686de83d8225be;p=quix0rs-gnu-social.git diff --git a/actions/shownotice.php b/actions/shownotice.php index 5501a0af42..6055184fcd 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -214,7 +214,7 @@ class ShownoticeAction extends Action if ($this->boolean('ajax')) { $this->showAjax(); } else { - if ($this->notice->is_local == Notice::REMOTE_OMB) { + if ($this->notice->is_local == Notice::REMOTE) { if (!empty($this->notice->url)) { $target = $this->notice->url; } else if (!empty($this->notice->uri) && preg_match('/^https?:/', $this->notice->uri)) {