bugfix checkIfArbeitspakektZuWaehlen

This commit is contained in:
ma0068
2022-09-30 12:04:59 +02:00
parent c1df686edc
commit 889f8370e1
@@ -244,6 +244,7 @@ protected function checkPhaseBebuchbar($phase)
*/
protected function checkIfArbeitspaketZuWaehlen($projekt_kurzbz, $phase)
{
$this->project->load($projekt_kurzbz);
if (!$this->project->zeitaufzeichnung && !$phase)
{
throw new Exception($this->p->t("global/fehlerBeimSpeichernDerDaten") . ': Bitte ein Arbeitspaket wählen!');