Stringfunktionen im include auf mb_* umgestellt

This commit is contained in:
Andreas Österreicher
2009-06-22 08:59:45 +00:00
parent 0dd950839b
commit c45029583e
51 changed files with 266 additions and 290 deletions
+2 -2
View File
@@ -117,12 +117,12 @@ class raumtyp extends basis_db
public function validate()
{
//Laenge Pruefen
if(strlen($this->beschreibung)>256)
if(mb_strlen($this->beschreibung)>256)
{
$this->errormsg = 'Beschreibung darf nicht laenger als 256 Zeichen sein';
return false;
}
if(strlen($this->raumtyp_kurzbz)>8)
if(mb_strlen($this->raumtyp_kurzbz)>8)
{
$this->errormsg = 'Raumtyp_kurzbz darf nicht laenger als 8 Zeichen sein';
return false;