mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
* Admin: fixed Site config did not store ("Error: 1")
This commit is contained in:
parent
d5b8242b19
commit
6aaec6438f
@ -145,6 +145,7 @@ class admin_config
|
|||||||
$errors = Api\Hooks::single(array(
|
$errors = Api\Hooks::single(array(
|
||||||
'location' => 'config_validate',
|
'location' => 'config_validate',
|
||||||
)+(array)$_content['newsettings'], $appname);
|
)+(array)$_content['newsettings'], $appname);
|
||||||
|
if (!is_string($errors)) $errors = ''; // old hooks allways return true
|
||||||
|
|
||||||
foreach($_content['newsettings'] as $key => $config)
|
foreach($_content['newsettings'] as $key => $config)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user