X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=lxo-import%2Fparts_import.php;fp=lxo-import%2Fparts_import.php;h=0db931230016d76c2a41bb932b50a11e7cad2c28;hb=3c2ec7dc1ba31b9fffbe7e777c60af6a85f3ba2e;hp=4159eff29e0e99cf1ba68776247ac87045616cbb;hpb=ca3ed37dfdd3aa395e136f93a99b1735dbee9789;p=kivitendo-erp.git diff --git a/lxo-import/parts_import.php b/lxo-import/parts_import.php index 4159eff29..0db931230 100644 --- a/lxo-import/parts_import.php +++ b/lxo-import/parts_import.php @@ -226,7 +226,24 @@ function insPrices($db,$pid,$prices) { return true; } -function import_parts($db, $file, $trenner, $trennzeichen, $fields, $check, $insert, $show ,$maske) { +/** + * TODO: short description. + * + * @param double $db + * @param mixed $file + * @param mixed $fields + * @param mixed $check + * @param int $insert + * @param string $show + * @param mixed $maske + * + * @return TODO + */ +function import_parts($db, $file, $fields, $check, $maske) { + $insert = !$maske["test"]; + $show = $maske["show"]; + $trennzeichen = ($maske["trennzeichen"])?$maske["trennzeichen"]:""; + $trenner = ($maske["trenner"])?$maske["trenner"]:","; $precision=$maske["precision"]; $quotation=$maske["quotation"]; $quottype=$maske["quottype"];