From 3b2b73e0e59c821beacfe9b0bf3587ed0068a264 Mon Sep 17 00:00:00 2001 From: Git'Fellow Date: Fri, 1 Apr 2022 18:46:26 +0200 Subject: [PATCH] Oups --- lib/Model/Circle.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Model/Circle.php b/lib/Model/Circle.php index 1fb8f12fb..c1f026f5e 100644 --- a/lib/Model/Circle.php +++ b/lib/Model/Circle.php @@ -914,6 +914,7 @@ public function importFromDatabase(array $data, string $prefix = ''): IQueryRow $creation = $this->get($prefix . 'creation', $data); $dateTime = DateTime::createFromFormat('Y-m-d H:i:s', $creation); $timestamp = $dateTime ? $dateTime->getTimestamp() : (int) strtotime('Y-m-d H:i:s', $creation); + $this->setCreation($timestamp); $this->setPopulation($this->getInt('population', $this->getSettings())); $this->setPopulationInherited($this->getInt('populationInherited', $this->getSettings()));