From: Holger Lindemann Date: Fri, 19 Jan 2007 09:44:40 +0000 (+0000) Subject: Umlaute Zeichencode X-Git-Tag: release-2.4.1~1^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3e63947841c49112212cdeef5bd178fe961bf002;p=kivitendo-erp.git Umlaute Zeichencode --- diff --git a/lxo-import/addressB.php b/lxo-import/addressB.php index 23fa4f69a..dcb5adb7f 100644 --- a/lxo-import/addressB.php +++ b/lxo-import/addressB.php @@ -44,7 +44,6 @@ clearstatcache (); $test=$_POST["test"]; if (!empty($_FILES["Datei"]["name"])) { $file=$_POST["ziel"]; - echo $_FILES["Datei"]["tmp_name"]; if (!move_uploaded_file($_FILES["Datei"]["tmp_name"],$file.".csv")) { $file=false; echo "Upload von ".$_FILES["Datei"]["name"]." fehlerhaft. (".$_FILES["Datei"]["error"].")
"; @@ -118,6 +117,8 @@ if ($ok) while (!feof($f)){ } else if ($in_fld[$i]=="taxincluded"){ $data=strtolower(substr($data,0,1)); if ($data!="f" && $data!="t") $data="f"; + } else if ($in_fld[$i]=="ustid"){ + $data=strtr(" ","",$data); } /*else if ($in_fld[$i]=="matchcode") { $matchcode=$data; $i++; @@ -164,7 +165,7 @@ if ($ok) while (!feof($f)){ $sql.=$keys."taxzone_id,import)"; $sql.=$vals."0,$nun)"; $rc=$db->query($sql); - if (!$rc) echo "Fehler: ".$vals."
"; + if (!$rc) echo "Fehler: ".$sql."
"; } $j++; } else {