From 4d62d34facad21884ca2748f6f124ffbe08e7a12 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 31 Oct 2016 15:51:02 +0100 Subject: [PATCH] remove +/- prefix, as it is not part of email but operator --- admin/admin-cli.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/admin-cli.php b/admin/admin-cli.php index 8669f2346f..1a8dcf0ece 100755 --- a/admin/admin-cli.php +++ b/admin/admin-cli.php @@ -444,10 +444,11 @@ function do_edit_mail($type, array $arg0s) * Set, add or remove from array depending on $mod[0][0] being '+', '-' or something else (set) * * @param array& $arr - * @param array $mod eg. ["+some-alias@egroupware.org","other-alias@egroupware.org"] will add all given alias to $arr + * @param array& $mod eg. ["+some-alias@egroupware.org","other-alias@egroupware.org"] will add all given alias to $arr + * on return optional +/- prefix has been removed * @return array */ -function array_modify(array &$arr, array $mod) +function array_modify(array &$arr, array &$mod) { switch($mod[0][0]) {