aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/connections.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/connections.php b/include/connections.php
index 3d52d1a48..ca6931601 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -720,7 +720,7 @@ function update_vcard($arr,$vcard = null) {
}
-function get_vcard_array($vc) {
+function get_vcard_array($vc,$id) {
$photo = '';
if($vc->PHOTO) {
@@ -810,6 +810,7 @@ function get_vcard_array($vc) {
}
$card = [
+ 'id' => $id,
'photo' => $photo,
'fn' => $fn,
'org' => $org,