Update code/Model/SiteTree.php

Co-Authored-By: sachajudd <sjudd@silverstripe.com>
This commit is contained in:
Guy Marriott 2019-04-08 11:45:44 +12:00 committed by GitHub
parent 4685523b9b
commit 10ff962ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2827,7 +2827,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
{
if ($this->config()->get('icon')) {
return '';
} else {
}
return $this->config()->get('icon_class');
}
}