summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-21 15:30:03 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-21 15:30:03 -0400
commit9f07921b45190b462e1a798622068e24ef31e124 (patch)
tree45ba802a5aa64c44faa4319749220e266f9cf1ee /actions/shownotice.php
parent041d2d82d3db92368913466869688cb5fa2554c8 (diff)
parenta8d35451823b01c074d5417a138d4968331a8130 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r--actions/shownotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 8f2ffd6b9..fb15dddcf 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -190,7 +190,7 @@ class ShownoticeAction extends OwnerDesignAction
{
parent::handle($args);
- if ($this->notice->is_local == 0) {
+ if ($this->notice->is_local == Notice::REMOTE_OMB) {
if (!empty($this->notice->url)) {
common_redirect($this->notice->url, 301);
} else if (!empty($this->notice->uri) && preg_match('/^https?:/', $this->notice->uri)) {