mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +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] ||
|
||||
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]))
|
||||
{
|
||||
continue; // change only in CR (eg. different OS) --> ignore
|
||||
|
Loading…
Reference in New Issue
Block a user