Commit 3f488e98 authored by Mario's avatar Mario
Browse files

fix illegal offset type warning

parent 54e07389
......@@ -634,8 +634,8 @@ function get_vcard_array($vc,$id) {
'address' => $adr->getParts()
];
$last_entry = end($adrs);
if($adrs[$last_entry]['address'])
array_walk($adrs[$last_entry]['address'],'array_escape_tags');
if($last_entry['address'])
array_walk($last_entry['address'],'array_escape_tags');
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment