diff --git a/src/Config.php b/src/Config.php index a70d5eb..ed9d42b 100644 --- a/src/Config.php +++ b/src/Config.php @@ -106,7 +106,7 @@ class Config extends dcNsProcess (new Fieldset())->class('fieldset')->legend(new Legend(__('List of disabled actions')))->fields($items), (new Fieldset())->class('fieldset')->legend(new Legend(__('Options')))->fields([ (new Para())->items([ - (new Checkbox('nodetails', dcCore::app()->blog->settings->get(Core::id())->get('nodetails')))->value('1'), + (new Checkbox('nodetails', (bool) dcCore::app()->blog->settings->get(Core::id())->get('nodetails')))->value('1'), (new Label(__('Hide details of rendered actions')))->class('classic')->for('nodetails'), ]), ]), diff --git a/src/Manage.php b/src/Manage.php index 3da5c8b..b01c898 100644 --- a/src/Manage.php +++ b/src/Manage.php @@ -258,7 +258,7 @@ class Manage extends dcNsProcess echo '
' . html::escapeHTML(self::$action->description()) . '
+