aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/connections.php b/include/connections.php
index ca6931601..b85be33b2 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -640,6 +640,11 @@ function update_vcard($arr,$vcard = null) {
'N' => array_reverse(explode(' ', $fn))
]);
}
+ else {
+ $vcard->FN = $fn;
+ $vcard->N = array_reverse(explode(' ', $fn));
+ }
+
$org = $arr['org'];
if($org) {
$vcard->ORG = $org;