From 002963f1982940fda537b1007e5a6bf12b75c719 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 13 Jul 2019 07:29:56 +0000 Subject: [PATCH] Fix wrong variable --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 64afa91e3c..e892c99f2a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1465,7 +1465,7 @@ class Contact extends BaseObject $fields = ['addr', 'alias', 'name', 'nick', 'keywords', 'location', 'about', 'baseurl']; foreach ($fields as $field) { - $updated[$field] = defaults($data, $field, $contact[$fields]); + $updated[$field] = defaults($data, $field, $contact[$field]); } if (($updated['addr'] != $contact['addr']) || (!empty($data['alias']) && ($data['alias'] != $contact['alias']))) {