Merge pull request #1124 from PhpMadman/1.6-HistoryColorFix
[*] FO : Fixed issue with custom statues does not have any color, ...
This commit is contained in:
@@ -830,7 +830,7 @@ class OrderCore extends ObjectModel
|
||||
foreach ($res as $key => $val)
|
||||
{
|
||||
$res2 = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
|
||||
SELECT os.`id_order_state`, osl.`name` AS order_state, os.`invoice`
|
||||
SELECT os.`id_order_state`, osl.`name` AS order_state, os.`invoice`, os.`color` as order_state_color
|
||||
FROM `'._DB_PREFIX_.'order_history` oh
|
||||
LEFT JOIN `'._DB_PREFIX_.'order_state` os ON (os.`id_order_state` = oh.`id_order_state`)
|
||||
INNER JOIN `'._DB_PREFIX_.'order_state_lang` osl ON (os.`id_order_state` = osl.`id_order_state` AND osl.`id_lang` = '.(int)$context->language->id.')
|
||||
|
||||
Reference in New Issue
Block a user