mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Admin: show "check ip address of all sessions": No (it was stored but always shown as Yes)
Caused by "" being deleted when stored and not set === null value picked first option Yes, now we send "" for a not set value to client-side
This commit is contained in:
parent
963c1a3f76
commit
54a9ea87f1
@ -162,7 +162,7 @@ class admin_config
|
||||
preg_match_all('/id="newsettings\[([^]]+)\]"/', file_get_contents($path), $matches, PREG_PATTERN_ORDER);
|
||||
foreach($matches[1] as $name)
|
||||
{
|
||||
$content['newsettings'][$name] = $config[$name];
|
||||
$content['newsettings'][$name] = isset($config[$name]) ? $config[$name] : '';
|
||||
}
|
||||
|
||||
// make everything readonly and remove save/apply button, if user has not rights to store config
|
||||
|
Loading…
Reference in New Issue
Block a user