X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b55e9a8e7d1e5d43380d650129737dca42907375..8ca4bc4878816fe86ba3457dd0f8a442da45d23d:/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();