From 87e676e1fbf56cea0c42e678561aeeaa41eebf3f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 13 May 2020 14:56:58 +0200 Subject: [PATCH] customvars.phtml: Show a customvar name as-is Don't uppercase first, exchange `_` for spaces and lower everything else resolves #3987 --- .../application/views/scripts/show/components/customvars.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/show/components/customvars.phtml b/modules/monitoring/application/views/scripts/show/components/customvars.phtml index 126b148f3..e2a4a6d97 100644 --- a/modules/monitoring/application/views/scripts/show/components/customvars.phtml +++ b/modules/monitoring/application/views/scripts/show/components/customvars.phtml @@ -1,6 +1,6 @@ customvars as $name => $value): ?> - escape(ucwords(str_replace('_', ' ', strtolower($name)))) ?> + escape($name) ?> customvar($value) ?>