1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Contacts: Add missing parameter

This commit is contained in:
Bart Visscher 2012-02-12 20:26:54 +01:00
parent 1813bb6bd0
commit 6e35c456aa

View File

@ -153,7 +153,7 @@ class OC_Contacts_App {
} }
} }
public static function setLastModifiedHeader() { public static function setLastModifiedHeader($contact) {
$rev = $contact->getAsString('REV'); $rev = $contact->getAsString('REV');
if ($rev) { if ($rev) {
$rev = DateTime::createFromFormat(DateTime::W3C, $rev); $rev = DateTime::createFromFormat(DateTime::W3C, $rev);