forked from extern/egroupware
Forced file preference left empty now means user choice - was forced to '', which was really hard to give users choice again
This commit is contained in:
parent
20346395d7
commit
14f736c20b
@ -240,6 +240,15 @@
|
||||
if ($value === '')
|
||||
{
|
||||
// empty is always allowed
|
||||
|
||||
// If forced, empty == not set
|
||||
if($type == 'forced')
|
||||
{
|
||||
unset($prefs[$var]);
|
||||
// need to call preferences::delete, to also set affective prefs!
|
||||
if (!$only_verify) $GLOBALS['egw']->preferences->delete($appname, $var, $type);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
elseif ($vfs_type == 'vfs_file')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user