mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
"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