mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix bad dateTime namespace
This commit is contained in:
@@ -340,7 +340,7 @@ class ValidationSession
|
||||
return null;
|
||||
}
|
||||
|
||||
$date_obj = new DateTime();
|
||||
$date_obj = new \DateTime();
|
||||
|
||||
return $date_obj > $this->getExpires();
|
||||
}
|
||||
|
Reference in New Issue
Block a user