diff options
author | Hubzilla <hubzilla@hz.macgirvin.com> | 2017-01-20 12:03:46 -0800 |
---|---|---|
committer | Hubzilla <hubzilla@hz.macgirvin.com> | 2017-01-20 12:03:46 -0800 |
commit | ece1dd1d7edc800085def93e50efc25a3dda55a7 (patch) | |
tree | 5fb0f7c315b2a001ecbb99117e22bbf4ff22faa4 /include/connections.php | |
parent | f57926d9ece52df0208695bdf48b918444448ed1 (diff) | |
download | volse-hubzilla-ece1dd1d7edc800085def93e50efc25a3dda55a7.tar.gz volse-hubzilla-ece1dd1d7edc800085def93e50efc25a3dda55a7.tar.bz2 volse-hubzilla-ece1dd1d7edc800085def93e50efc25a3dda55a7.zip |
js errors with raw message-id, string update
Diffstat (limited to 'include/connections.php')
-rw-r--r-- | include/connections.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'); } } |