X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/62564be28991a32bf3b72f334bd165da5bdb088d..e9e03da076b9dfb8344ac0ac1be5a5311cbb26f8:/Entity/Location.php?ds=sidebyside 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();