is_int() -> \!is_null()

This commit is contained in:
Evan Prodromou 2011-09-08 13:05:17 -04:00
parent 5680eb74d0
commit a740556e3f

View 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();