mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fixing the fix Undefined constant DateTime
This commit is contained in:
parent
b1af8449fd
commit
89d6dc8650
@ -534,7 +534,7 @@ abstract class Tracking
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif ($old[$name] == $data[$name] ||
|
elseif ($old[$name] == $data[$name] ||
|
||||||
is_a($data[$name], \DateTime) ? (new Api\DateTime($old[$name], $data[$name]->getTimezone())) == $data[$name] :
|
is_a($data[$name], \DateTime::class) ? (new Api\DateTime($old[$name], $data[$name]->getTimezone())) == $data[$name] :
|
||||||
str_replace("\r", '', $old[$name]) == str_replace("\r", '', $data[$name]))
|
str_replace("\r", '', $old[$name]) == str_replace("\r", '', $data[$name]))
|
||||||
{
|
{
|
||||||
continue; // change only in CR (eg. different OS) --> ignore
|
continue; // change only in CR (eg. different OS) --> ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user