diff --git a/classes/Notice.php b/classes/Notice.php index 6ccc2cabc2..e34dab549f 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2372,7 +2372,7 @@ class Notice extends Managed_DataObject protected function _inScope($profile) { - if (is_int($this->scope)) { + if (!is_null($this->scope)) { $scope = $this->scope; } else { $scope = self::defaultScope();