summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/contacts/ajax/contact/saveproperty.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/contacts/ajax/contact/saveproperty.php b/apps/contacts/ajax/contact/saveproperty.php
index 799038b6f1d..fd541b7361e 100644
--- a/apps/contacts/ajax/contact/saveproperty.php
+++ b/apps/contacts/ajax/contact/saveproperty.php
@@ -148,6 +148,6 @@ if(!OC_Contacts_VCard::edit($id, $vcard)) {
OCP\JSON::success(array('data' => array(
'line' => $line,
'checksum' => $checksum,
- 'oldchecksum' => $_POST['checksum']
- 'lastmodified' => OC_Contacts_VCard::lastModified($vcard)->format('U')
-));
+ 'oldchecksum' => $_POST['checksum'],
+ 'lastmodified' => OC_Contacts_App::lastModified($vcard)->format('U'),
+)));