forked from extern/egroupware
remove +/- prefix, as it is not part of email but operator
This commit is contained in:
parent
dbae12260b
commit
e30794e61b
@ -452,10 +452,12 @@ function array_modify(array &$arr, array $mod)
|
||||
switch($mod[0][0])
|
||||
{
|
||||
case '-':
|
||||
$mod[0] = substr($mod[0], 1);
|
||||
$arr = array_unique(array_diff($arr, $mod));
|
||||
break;
|
||||
|
||||
case '+';
|
||||
$mod[0] = substr($mod[0], 1);
|
||||
$arr = array_unique(array_merge($arr, $mod));
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user