fix visibility of fpm-mod_proxy_fcgi-apache-2.4 setting
This commit is contained in:
@@ -54,6 +54,12 @@ function getFormFieldOutput($fieldname, $fielddata) {
|
||||
}
|
||||
}
|
||||
|
||||
// visible = Settings::Get('phpfpm.enabled') for example would result in false if not enabled
|
||||
// and therefore not shown as intended
|
||||
if (isset($fielddata['visible'])) {
|
||||
$do_show = $fielddata['visible'];
|
||||
}
|
||||
|
||||
if ($do_show) {
|
||||
$returnvalue = call_user_func('getFormFieldOutput' . ucfirst($fielddata['type']), $fieldname, $fielddata);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user