diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index 40c6e4be..aad7a129 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -2827,7 +2827,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi { if ($this->config()->get('icon')) { return ''; - } else { + } return $this->config()->get('icon_class'); } }