mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-06 05:59:15 +01:00
fix PHP Warning array_value expects first parameter to be array
This commit is contained in:
parent
93b8d489c2
commit
aed984148d
@ -2562,7 +2562,7 @@ class mail_compose
|
|||||||
if (!empty($addr)) $_emailAddressList[]=$addr;
|
if (!empty($addr)) $_emailAddressList[]=$addr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return array_values($_emailAddressList);
|
return is_array($_emailAddressList) ? array_values($_emailAddressList) : (array)$_emailAddressList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user