remove +/- prefix, as it is not part of email but operator

This commit is contained in:
Ralf Becker 2016-10-31 15:46:56 +01:00
parent dbae12260b
commit e30794e61b

View File

@ -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;