]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
is_int() -> \!is_null()
authorEvan Prodromou <evan@status.net>
Thu, 8 Sep 2011 17:05:17 +0000 (13:05 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 8 Sep 2011 17:05:17 +0000 (13:05 -0400)
classes/Notice.php

index 6ccc2cabc291d95a60fef76bf442049ad205bff1..e34dab549f4d7989cc144090db7389c81c899ec8 100644 (file)
@@ -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();