This commit is contained in:
Gerald Simane
2009-06-08 06:37:57 +00:00
parent 158402455f
commit 725e178014
660 changed files with 170054 additions and 169940 deletions
+4 -3
View File
@@ -55,7 +55,7 @@ class firma
function firma($conn,$firma_id=null, $unicode=false)
{
$this->conn = $conn;
/*
if($unicode!=null)
{
if ($unicode)
@@ -72,6 +72,7 @@ class firma
return false;
}
}
*/
if($firma_id != null)
$this->load($firma_id);
}
@@ -135,12 +136,12 @@ class firma
//$this->errormsg='Eine der Gesamtlaengen wurde ueberschritten';
if(strlen($this->name)>128)
{
$this->errormsg = 'Name darf nicht länger als 128 Zeichen sein - firma_id: '.$this->firma_id.'/'.$this->name;
$this->errormsg = 'Name darf nicht länger als 128 Zeichen sein - firma_id: '.$this->firma_id.'/'.$this->name;
return false;
}
if(strlen($this->anmerkung)>256)
{
$this->errormsg = 'Anmerkung darf nicht länger als 256 Zeichen sein - firma_id: '.$this->firma_id.'/'.$this->name;
$this->errormsg = 'Anmerkung darf nicht länger als 256 Zeichen sein - firma_id: '.$this->firma_id.'/'.$this->name;
return false;
}