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 -4
View File
@@ -43,7 +43,7 @@ class erhalter
function erhalter($conn, $erhalter_kz=null, $unicode=false)
{
$this->conn = $conn;
/*
if($unicode)
$qry = "SET CLIENT_ENCODING TO 'UNICODE';";
else
@@ -54,7 +54,7 @@ class erhalter
$this->errormsg = "Encoding konnte nicht gesetzt werden";
return false;
}
*/
if($erhalter_kz != null)
$this->load($erhalter_kz);
}
@@ -149,8 +149,8 @@ class erhalter
*/
function checkvars()
{
$this->bezeichnung = str_replace("'",'´',$this->bezeichnung);
$this->kurzbz = str_replace("'",'´',$this->kurzbz);
$this->bezeichnung = str_replace("'",'´',$this->bezeichnung);
$this->kurzbz = str_replace("'",'´',$this->kurzbz);
//Laenge Pruefen
if(strlen($this->bezeichnung)>255)