mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Raumtyp und Raumtypalternativ in tbl_lehreinheit auf 16 Zeichen vergrößert
This commit is contained in:
@@ -317,14 +317,14 @@ class lehreinheit extends basis_db
|
||||
$this->errormsg = 'StartKW muss zwischen 1 und 53 liegen';
|
||||
return false;
|
||||
}
|
||||
if(mb_strlen($this->raumtyp)>8)
|
||||
if(mb_strlen($this->raumtyp)>16)
|
||||
{
|
||||
$this->errormsg = 'Raumtyp darf nicht laenger als 8 Zeichen sein';
|
||||
$this->errormsg = 'Raumtyp darf nicht laenger als 16 Zeichen sein';
|
||||
return false;
|
||||
}
|
||||
if(mb_strlen($this->raumtypalternativ)>8)
|
||||
if(mb_strlen($this->raumtypalternativ)>16)
|
||||
{
|
||||
$this->errormsg = 'Raumtypalternativ darf nicht alenger als 8 Zeichen sein';
|
||||
$this->errormsg = 'Raumtypalternativ darf nicht laenger als 16 Zeichen sein';
|
||||
return false;
|
||||
}
|
||||
if($this->raumtypalternativ=='')
|
||||
|
||||
@@ -122,9 +122,9 @@ class raumtyp extends basis_db
|
||||
$this->errormsg = 'Beschreibung darf nicht laenger als 256 Zeichen sein';
|
||||
return false;
|
||||
}
|
||||
if(mb_strlen($this->raumtyp_kurzbz)>8)
|
||||
if(mb_strlen($this->raumtyp_kurzbz)>16)
|
||||
{
|
||||
$this->errormsg = 'Raumtyp_kurzbz darf nicht laenger als 8 Zeichen sein';
|
||||
$this->errormsg = 'Raumtyp_kurzbz darf nicht laenger als 16 Zeichen sein';
|
||||
return false;
|
||||
}
|
||||
if($this->raumtyp_kurzbz == '')
|
||||
|
||||
Reference in New Issue
Block a user