Correct content now ... :-(
authorRoland Haeder <roland@mxchange.org>
Fri, 22 May 2015 03:18:35 +0000 (05:18 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 22 May 2015 03:18:35 +0000 (05:18 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
classes/Notice.php

index 15e50acbe0de0c748199e6fc606f1c3125299844..83d5d5fd577e73cb953ccf31c45915e1c900b8f2 100644 (file)
@@ -2667,11 +2667,8 @@ class Notice extends Managed_DataObject
     }
 
     public function isPrivateScope () {
-        return (
-            ($this->is_local === Notice::LOCAL_NONPUBLIC) ||
-            ($this->is_local === Notice::GATEWAY) ||
-            ($this->is_local === Notice::REMOTE)
-        );
+        return ($this->scope != Notice::SITE_SCOPE &&
+                $this->scope != Notice::PUBLIC_SCOPE);
     }
 
     /**