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:
parent
1813bb6bd0
commit
6e35c456aa
@ -153,7 +153,7 @@ class OC_Contacts_App {
|
||||
}
|
||||
}
|
||||
|
||||
public static function setLastModifiedHeader() {
|
||||
public static function setLastModifiedHeader($contact) {
|
||||
$rev = $contact->getAsString('REV');
|
||||
if ($rev) {
|
||||
$rev = DateTime::createFromFormat(DateTime::W3C, $rev);
|
||||
|
Loading…
Reference in New Issue
Block a user