// fix undefined variable res
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15968 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
function add_order_reference_in_order_payment()
|
||||
{
|
||||
$res = true;
|
||||
$payments = Db::getInstance()->executeS('
|
||||
SELECT op.id_order_payment, o.reference
|
||||
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 true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user