From a740556e3ff0187b7765c1383e98b514ddb63ae3 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 8 Sep 2011 13:05:17 -0400 Subject: [PATCH] is_int() -> \!is_null() --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5