2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed timezone assignment in AU database by phone number prefix

This commit is contained in:
azammitdcarf
2012-10-03 02:54:49 +00:00
parent 70a8c9cb44
commit 2a394951f6
3 changed files with 25 additions and 3 deletions

View File

@@ -264,7 +264,7 @@ function import_file($file, $description, $fields, $firstrow = 2)
if (!empty($tname))
{
$value = $db->Quote($data[$key - 1]);
$value = $db->Quote(only_numbers($data[$key - 1]));
$sql = "SELECT Time_zone_name as tz
FROM `$tname`