mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-12 23:09:15 +01:00
Fix #532. Adds an intermediate variable to be compatible with php 5.3
This commit is contained in:
parent
9c1db382c5
commit
2f67599968
@ -604,7 +604,8 @@ class Ldap extends AbstractBackend {
|
|||||||
|
|
||||||
$uri = isset($options['uri']) ? $options['uri'] : null;
|
$uri = isset($options['uri']) ? $options['uri'] : null;
|
||||||
|
|
||||||
$contact->REV = (new \DateTime)->format(\DateTime::W3C);
|
$datetime = new \DateTime;
|
||||||
|
$contact->REV = $datetime->format(\DateTime::W3C);
|
||||||
|
|
||||||
// 2014/02/13 Sometimes, a card is created without a name (I don't like that)...
|
// 2014/02/13 Sometimes, a card is created without a name (I don't like that)...
|
||||||
if (!isset($contact->N)) {
|
if (!isset($contact->N)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user