From 7b1fc28cf41e48202e16319f216ac5aebba1adda Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 13 Dec 2018 18:24:34 +0100 Subject: [PATCH] pass on type and placeholder of extension config this will fix password fields in the extension configuration which were readable --- views/bootstrap/class.Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index 5e08f42c8..ed7882029 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -564,7 +564,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); } break; default: - $this->showTextField("extensions[".$extname."][".$confkey."]", isset($settings->_extensions[$extname][$confkey]) ? $settings->_extensions[$extname][$confkey] : '', '', ''); + $this->showTextField("extensions[".$extname."][".$confkey."]", isset($settings->_extensions[$extname][$confkey]) ? $settings->_extensions[$extname][$confkey] : '', isset($conf['type']) ? $conf['type'] : '', isset($conf['placeholder']) ? $conf['placeholder'] : ''); } $html = ob_get_clean(); $this->showConfigPlain($conf['title'], isset($conf['help']) ? $conf['help'] : '', $html);