diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index 01c0a089..da11568b 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -2302,7 +2302,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid $result = array(); foreach($classes as $class) { $instance = singleton($class); - if((($instance instanceof HiddenClass) || !$instance->canCreate()) && ($class != $this->class)) continue; + if((($instance instanceof HiddenClass) || !$instance->canCreate())) continue; if($perms = $instance->stat('need_permission')) { if(!$this->can($perms)) continue;