mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix error if no alias/forward set stalling setting one, caused by using NULL instead of an empty array throws error: Argument 1 passed to array_modify() must be of the type array, null given
This commit is contained in:
parent
58c1596002
commit
68cd92a0ca
@ -448,8 +448,10 @@ function do_edit_mail($type, array $arg0s)
|
||||
* on return optional +/- prefix has been removed
|
||||
* @return array
|
||||
*/
|
||||
function array_modify(array &$arr, array &$mod)
|
||||
function array_modify(&$arr, array &$mod)
|
||||
{
|
||||
if (!is_array($arr)) $arr = array();
|
||||
|
||||
switch($mod[0][0])
|
||||
{
|
||||
case '-':
|
||||
|
Loading…
Reference in New Issue
Block a user