From 8ada088ebb1e5c69603616f056e042d2b8f0b13c Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sat, 2 Nov 2024 17:41:02 +0200 Subject: [PATCH] Show boolean field correctly --- app/helpers/render.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/helpers/render.php b/app/helpers/render.php index d82a7b5..cc4077c 100644 --- a/app/helpers/render.php +++ b/app/helpers/render.php @@ -24,10 +24,15 @@ function renderConfig($configPart, $indent, $platform=false, $parent='') { $indent = 0; } else { // if it's not array, just display it -?> + if ($config_item === 'registration_enabled') { ?> +
+ +
+
+