fix illegal offset type warning
This commit is contained in:
parent
54e07389fa
commit
3f488e9842
@ -634,8 +634,8 @@ function get_vcard_array($vc,$id) {
|
|||||||
'address' => $adr->getParts()
|
'address' => $adr->getParts()
|
||||||
];
|
];
|
||||||
$last_entry = end($adrs);
|
$last_entry = end($adrs);
|
||||||
if($adrs[$last_entry]['address'])
|
if($last_entry['address'])
|
||||||
array_walk($adrs[$last_entry]['address'],'array_escape_tags');
|
array_walk($last_entry['address'],'array_escape_tags');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user