mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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)
|
||||
{
|
||||
if (is_string($interval)) $interval = DateInterval::createFromDateString($interval);
|
||||
if (is_string($interval)) $interval = \DateInterval::createFromDateString($interval);
|
||||
|
||||
parent::add($interval);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user