cosmetic
This commit is contained in:
parent
b5e0d8c6b6
commit
36b96fda77
@ -41,7 +41,7 @@ class Backend extends dcNsProcess
|
||||
// add "unsinstall" button to modules list
|
||||
'adminModulesListGetActionsV2' => function (adminModulesList $list, dcModuleDefine $define): string {
|
||||
// do not unsintall current theme
|
||||
if ($define->get('type') == 'theme' && $define->getId() == dcCore::app()->blog->settings->system->theme) {
|
||||
if ($define->get('type') == 'theme' && $define->getId() == dcCore::app()->blog?->settings->get('system')->get('theme')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user