* Admin: fixed Site config did not store ("Error: 1")

This commit is contained in:
Ralf Becker 2019-07-22 13:02:42 +02:00
parent d5b8242b19
commit 6aaec6438f

View File

@ -145,6 +145,7 @@ class admin_config
$errors = Api\Hooks::single(array(
'location' => 'config_validate',
)+(array)$_content['newsettings'], $appname);
if (!is_string($errors)) $errors = ''; // old hooks allways return true
foreach($_content['newsettings'] as $key => $config)
{