From a566f3cc572ae349a6958d27d1c9d1f21c41583e Mon Sep 17 00:00:00 2001 From: Cris Date: Thu, 4 Apr 2024 12:09:09 +0200 Subject: [PATCH] Bugfix Zeitaufzeichnung auf Projekt ohne Phase --- include/zeitaufzeichnung_import_post.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zeitaufzeichnung_import_post.class.php b/include/zeitaufzeichnung_import_post.class.php index ded9344fb..8c95cf327 100644 --- a/include/zeitaufzeichnung_import_post.class.php +++ b/include/zeitaufzeichnung_import_post.class.php @@ -71,9 +71,9 @@ class zeitaufzeichnung_import_post extends zeitaufzeichnung_import { $this->checkPhaseInterval($this->data['projektphase_id'], $this->data['von'], $this->data['bis']); $this->checkDienstreise($this->data['von'], $this->data['bis'], $this->data['aktivitaet_kurzbz']); $this->checkTagesgenau($this->data['bis']); + $this->checkIfArbeitspaketZuWaehlen($this->data['projekt_kurzbz'], $this->data['projektphase_id']); // TODO löst check aus $this->processPause($this->data['von_pause'], $this->data['bis_pause']); $this->checkPhaseBebuchbar($this->data['projektphase_id']); - $this->checkIfArbeitspaketZuWaehlen($this->data['projekt_kurzbz'], $this->data['projektphase_id']); $this->saveZeit(); } catch (Exception $ex) { $this->addError($ex->getMessage());