diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 1407e114d..89538ccaa 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -775,7 +775,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid // Standard mechanism for accepting permission changes from decorators $extended = $this->extendedCan('canView', $member); - if($extended != null) return $extended; + if($extended !== null) return $extended; // check for empty spec if(!$this->CanViewType || $this->CanViewType == 'Anyone') return true;