From: Evan Prodromou Date: Thu, 8 Sep 2011 17:05:17 +0000 (-0400) Subject: is_int() -> \!is_null() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a740556e3ff0187b7765c1383e98b514ddb63ae3;p=quix0rs-gnu-social.git is_int() -> \!is_null() --- 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();