summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-09 23:16:07 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-09 23:16:07 +0200
commit26a9d7ea718b2c5f9080a4be54099b3626f56cff (patch)
tree318c92d5f58dc258ac8949e7f261e43e1a2c64e4
parent5f5136643562e53460af557efbb6f3c0a2a6fc80 (diff)
downloadnextcloud-server-26a9d7ea718b2c5f9080a4be54099b3626f56cff.tar.gz
nextcloud-server-26a9d7ea718b2c5f9080a4be54099b3626f56cff.zip
Fixed 3 - THREE - errors in one method call :-P
-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'),
+)));