mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Update code/Model/SiteTree.php
Co-Authored-By: sachajudd <sjudd@silverstripe.com>
This commit is contained in:
parent
4685523b9b
commit
10ff962ece
@ -2827,7 +2827,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
{
|
||||
if ($this->config()->get('icon')) {
|
||||
return '';
|
||||
} else {
|
||||
}
|
||||
return $this->config()->get('icon_class');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user