diff --git a/system/blueprints/flex/pages.yaml b/system/blueprints/flex/pages.yaml index 0ffcf9275..fcdffdf10 100644 --- a/system/blueprints/flex/pages.yaml +++ b/system/blueprints/flex/pages.yaml @@ -174,5 +174,5 @@ form: fields: permissions: type: tab - title: PLUGIN_ADMIN.PERMISSIONS - import@: partials/permissions + title: PLUGIN_ADMIN.SECURITY + import@: partials/security diff --git a/system/blueprints/pages/partials/permissions.yaml b/system/blueprints/pages/partials/security.yaml similarity index 95% rename from system/blueprints/pages/partials/permissions.yaml rename to system/blueprints/pages/partials/security.yaml index 3ce6a06b7..5eee7f3ab 100644 --- a/system/blueprints/pages/partials/permissions.yaml +++ b/system/blueprints/pages/partials/security.yaml @@ -2,7 +2,7 @@ form: fields: _site: type: section - title: PLUGIN_ADMIN.SITE + title: PLUGIN_ADMIN.PAGE_ACCESS underline: true fields: @@ -31,7 +31,7 @@ form: _admin: type: section - title: PLUGIN_ADMIN.ADMIN + title: PLUGIN_ADMIN.PAGE PERMISSIONS underline: true fields: diff --git a/system/src/Grav/Common/Data/Validation.php b/system/src/Grav/Common/Data/Validation.php index 2764067fa..ce447106f 100644 --- a/system/src/Grav/Common/Data/Validation.php +++ b/system/src/Grav/Common/Data/Validation.php @@ -725,6 +725,7 @@ class Validation } elseif (Utils::isNegative($val)) { $val = false; } else { + // Ignore invalid bool values. $val = null; } break;