// upgrade display error optimization
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16054 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -39,7 +39,7 @@ function migrate_orders()
|
||||
$values_order_detail = array();
|
||||
$col_order_detail = Db::getInstance()->query('SHOW FIELDS FROM `'._DB_PREFIX_.'order_detail`');
|
||||
if (!$col_order_detail)
|
||||
return array('error' => 1, 'msg' => 'unable to get fields list from order_detail table';
|
||||
return array('error' => 1, 'msg' => 'unable to get fields list from order_detail table');
|
||||
|
||||
$col_order_detail = $col_order_detail->fetchAll(PDO::FETCH_COLUMN);
|
||||
$insert_order_detail = 'INSERT INTO `'._DB_PREFIX_.'order_detail_2` (`'.implode('`, `', $col_order_detail).'`) VALUES ';
|
||||
|
||||
Reference in New Issue
Block a user