From d6cb19986d49de8de6dcd2eef6fe173a0bb9f54f Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Mon, 18 Jun 2012 13:02:52 +0000 Subject: [PATCH] // upgrade display error optimization --- install-dev/upgrade/php/migrate_orders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dev/upgrade/php/migrate_orders.php b/install-dev/upgrade/php/migrate_orders.php index 7685b75a6..2f6d6e76e 100644 --- a/install-dev/upgrade/php/migrate_orders.php +++ b/install-dev/upgrade/php/migrate_orders.php @@ -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 ';