// fix undefined variable res
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
function add_order_reference_in_order_payment()
|
function add_order_reference_in_order_payment()
|
||||||
{
|
{
|
||||||
|
$res = true;
|
||||||
$payments = Db::getInstance()->executeS('
|
$payments = Db::getInstance()->executeS('
|
||||||
SELECT op.id_order_payment, o.reference
|
SELECT op.id_order_payment, o.reference
|
||||||
FROM `'._DB_PREFIX_.'order_payment` op
|
FROM `'._DB_PREFIX_.'order_payment` op
|
||||||
@@ -86,4 +87,4 @@ function add_order_reference_in_order_payment()
|
|||||||
return array('errors' => true, 'msg' => Db::getInstance()->getMsgError());
|
return array('errors' => true, 'msg' => Db::getInstance()->getMsgError());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user