mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
handle empty teilzeittyp_kurzbz
This commit is contained in:
@@ -49,7 +49,8 @@ class VertragsbestandteilStunden extends Vertragsbestandteil
|
||||
|
||||
public function setTeilzeittyp_kurzbz($teilzeittyp_kurzbz)
|
||||
{
|
||||
$this->teilzeittyp_kurzbz = $teilzeittyp_kurzbz;
|
||||
$this->teilzeittyp_kurzbz = ($teilzeittyp_kurzbz !== '')
|
||||
? $teilzeittyp_kurzbz : null;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user