From 636bc97d29376928c45678a11bbf684b64e5aab5 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 29 May 2018 09:26:52 -0600 Subject: [PATCH] handle errors.display properly admin#1452 --- CHANGELOG.md | 1 + system/blueprints/config/system.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dc494da8..156ee48c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Fixed an issue with some users getting **2FA** prompt after upgrade [admin#1442](https://github.com/getgrav/grav-plugin-admin/issues/1442) * Do not crash when generating URLs with arrays as parameters [#2018](https://github.com/getgrav/grav/pull/2018) * Utils::truncateHTML removes whitespace when generating summaries [#2004](https://github.com/getgrav/grav/pull/2004) + * Fixed issue with Errors `display:` option not handling integers properly [admin#1452](https://github.com/getgrav/grav-plugin-admin/issues/1452) # v1.4.4 ## 05/11/2018 diff --git a/system/blueprints/config/system.yaml b/system/blueprints/config/system.yaml index d5e5cccf6..53f8ba179 100644 --- a/system/blueprints/config/system.yaml +++ b/system/blueprints/config/system.yaml @@ -835,6 +835,8 @@ form: -1: PLUGIN_ADMIN.ERROR_SYSTEM 0: PLUGIN_ADMIN.ERROR_SIMPLE 1: PLUGIN_ADMIN.ERROR_FULL_BACKTRACE + validate: + type: int errors.log: