mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix namespace error
This commit is contained in:
parent
f1f390e933
commit
c2eaabaa5b
@ -177,7 +177,7 @@ class DateTime extends \DateTime
|
|||||||
*/
|
*/
|
||||||
public function add($interval)
|
public function add($interval)
|
||||||
{
|
{
|
||||||
if (is_string($interval)) $interval = DateInterval::createFromDateString($interval);
|
if (is_string($interval)) $interval = \DateInterval::createFromDateString($interval);
|
||||||
|
|
||||||
parent::add($interval);
|
parent::add($interval);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user