// norms / fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16092 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -57,7 +57,7 @@ function migrate_orders()
|
|||||||
return array('error' => 1, 'msg' => 'unable to get fields list from orders table');
|
return array('error' => 1, 'msg' => 'unable to get fields list from orders table');
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($col_order_detail as $k => $field)
|
foreach ($col_orders as $k => $field)
|
||||||
$col_orders[$k] = $field['Field'];
|
$col_orders[$k] = $field['Field'];
|
||||||
|
|
||||||
$insert_order = 'INSERT INTO `'._DB_PREFIX_.'orders_2` (`'.implode('`, `', $col_orders).'`) VALUES ';
|
$insert_order = 'INSERT INTO `'._DB_PREFIX_.'orders_2` (`'.implode('`, `', $col_orders).'`) VALUES ';
|
||||||
|
|||||||
Reference in New Issue
Block a user