aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php3
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');
}
}