X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1c693b7ed3bb3530a1eb189f9fb2ad2346661c5b..b929a02319f2fd8d373d1d3f4caf62604b516b7f:/Entity/Location.php?ds=inline 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();