From ece1dd1d7edc800085def93e50efc25a3dda55a7 Mon Sep 17 00:00:00 2001 From: Hubzilla Date: Fri, 20 Jan 2017 12:03:46 -0800 Subject: js errors with raw message-id, string update --- include/connections.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/connections.php b/include/connections.php index def80441a..f90644ec5 100644 --- a/include/connections.php +++ b/include/connections.php @@ -822,7 +822,8 @@ function get_vcard_array($vc,$id) { 'address' => $adr->getParts() ]; $last_entry = end($adrs); - array_walk($adrs[$last_entry]['address'],'array_escape_tags'); + if($adrs[$last_entry]['address']) + array_walk($adrs[$last_entry]['address'],'array_escape_tags'); } } -- cgit v1.2.3