mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 20:09:27 +01:00
remove +/- prefix, as it is not part of email but operator
This commit is contained in:
parent
4eeb35275d
commit
61364b6b0b
@ -452,10 +452,12 @@ function array_modify(array &$arr, array $mod)
|
|||||||
switch($mod[0][0])
|
switch($mod[0][0])
|
||||||
{
|
{
|
||||||
case '-':
|
case '-':
|
||||||
|
$mod[0] = substr($mod[0], 1);
|
||||||
$arr = array_unique(array_diff($arr, $mod));
|
$arr = array_unique(array_diff($arr, $mod));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '+';
|
case '+';
|
||||||
|
$mod[0] = substr($mod[0], 1);
|
||||||
$arr = array_unique(array_merge($arr, $mod));
|
$arr = array_unique(array_merge($arr, $mod));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user