summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/contact/details.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/contact/details.php')
-rw-r--r--apps/contacts/ajax/contact/details.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/contact/details.php b/apps/contacts/ajax/contact/details.php
index 0e07f9ec3d8..c22f18937d7 100644
--- a/apps/contacts/ajax/contact/details.php
+++ b/apps/contacts/ajax/contact/details.php
@@ -53,5 +53,6 @@ if(isset($details['PHOTO'])) {
$details['id'] = $id;
$details['displayname'] = $card['fullname'];
$details['addressbookid'] = $card['addressbookid'];
+$details['lastmodified'] = OC_Contacts_App::lastModified($vcard)->format('U');
OC_Contacts_App::setLastModifiedHeader($vcard);
OCP\JSON::success(array('data' => $details));