X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1b020b02e1d1fa56e737c8c5dbf5d7e5f48d587e..f0ed7af138b95f31354f8d5a37cb4cd27b902a75:/Entity/Location.php diff --git a/Entity/Location.php b/Entity/Location.php index 4af1280..57af698 100644 --- a/Entity/Location.php +++ b/Entity/Location.php @@ -87,6 +87,9 @@ class Location { * Constructor */ public function __construct() { + //Set defaults + $this->created = new \DateTime('now'); + $this->updated = new \DateTime('now'); $this->sessions = new ArrayCollection(); $this->snippets = new ArrayCollection(); $this->users = new ArrayCollection();