Change the table name from device lines to keys.

This commit is contained in:
markjcrane
2015-07-07 14:44:14 -03:00
parent 02664f02a7
commit 2838d29a89

View File

@@ -43,7 +43,7 @@ if ($domains_processed == 1) {
$s->execute();
$device_keys = $s->fetchAll(PDO::FETCH_ASSOC);
foreach ($device_keys as &$row) {
$sql = "update v_device_lines ";
$sql = "update v_device_keys ";
$sql .= "set device_key_vendor = '".$row["device_vendor"]."' ";
$sql .= "where device_key_uuid = '".$row["device_key_uuid"]."';\n ";
$db->exec(check_sql($sql));