summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
authorMarcel van der Boom <marcel@hsdev.com>2009-08-19 08:34:17 +0200
committerCraig Andrews <candrews@integralblue.com>2009-08-20 13:11:22 -0400
commit418a5a95ab4831ec905dd849fa2632dec24b96da (patch)
tree4f57b527a2c58d7e74684fe0a6eb9aa79ab64fe3 /actions/shownotice.php
parent0d06055f408c4cbffe8ce8508468aa83e2804bf6 (diff)
Change the notice type defines all into class constants and adapt all files.
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)) {