forked from extern/egroupware
"fix for bug: can not unselect users from a multiple user selection (eg. InfoLog delegates), if the original value is in $preserv array"
This commit is contained in:
parent
957ebfb698
commit
3630f964fb
@ -712,7 +712,8 @@
|
||||
|
||||
foreach($new as $k => $v)
|
||||
{
|
||||
if (!is_array($v) || !isset($old[$k]))
|
||||
if (!is_array($v) || !isset($old[$k]) || // no array or a new array
|
||||
isset($v[0]) && isset($v[count($v)-1])) // or no associative array, eg. selecting multiple accounts
|
||||
{
|
||||
$old[$k] = $v;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user