mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
Stringfunktionen im include auf mb_* umgestellt
This commit is contained in:
@@ -113,12 +113,12 @@ class firma extends basis_db
|
||||
protected function validate()
|
||||
{
|
||||
//Gesamtlaenge pruefen
|
||||
if(strlen($this->name)>128)
|
||||
if(mb_strlen($this->name)>128)
|
||||
{
|
||||
$this->errormsg = 'Name darf nicht länger als 128 Zeichen sein';
|
||||
return false;
|
||||
}
|
||||
if(strlen($this->anmerkung)>256)
|
||||
if(mb_strlen($this->anmerkung)>256)
|
||||
{
|
||||
$this->errormsg = 'Anmerkung darf nicht länger als 256 Zeichen sein';
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user