diff --git a/functions/functions.import.php b/functions/functions.import.php index 622dc986..6705f439 100644 --- a/functions/functions.import.php +++ b/functions/functions.import.php @@ -257,7 +257,10 @@ function import_file($file, $description, $fields, $firstrow = 2) { $dkey = only_numbers($data[$key - 1]); if (!empty($dkey)) + { + $data[$key - 1] = $dkey; $numberavail = 1; + } } } @@ -287,7 +290,7 @@ function import_file($file, $description, $fields, $firstrow = 2) if (!empty($tname)) { - $value = $db->Quote(only_numbers($data[$key - 1])); + $value = $db->Quote($data[$key - 1]); $sql = "SELECT Time_zone_name as tz FROM `$tname`