is_int() -> \!is_null()
This commit is contained in:
parent
5680eb74d0
commit
a740556e3f
@ -2372,7 +2372,7 @@ class Notice extends Managed_DataObject
|
|||||||
|
|
||||||
protected function _inScope($profile)
|
protected function _inScope($profile)
|
||||||
{
|
{
|
||||||
if (is_int($this->scope)) {
|
if (!is_null($this->scope)) {
|
||||||
$scope = $this->scope;
|
$scope = $this->scope;
|
||||||
} else {
|
} else {
|
||||||
$scope = self::defaultScope();
|
$scope = self::defaultScope();
|
||||||
|
Loading…
Reference in New Issue
Block a user