forked from extern/egroupware
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
b7c5ff7642
commit
d099fbe28a
@ -448,8 +448,10 @@ function do_edit_mail($type, array $arg0s)
|
|||||||
* on return optional +/- prefix has been removed
|
* on return optional +/- prefix has been removed
|
||||||
* @return array
|
* @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])
|
switch($mod[0][0])
|
||||||
{
|
{
|
||||||
case '-':
|
case '-':
|
||||||
|
Loading…
Reference in New Issue
Block a user