// missing comas #PSCFV-3464
This commit is contained in:
@@ -489,9 +489,9 @@ class CartRuleCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
$query = new DbQuery();
|
$query = new DbQuery();
|
||||||
|
|
||||||
$query->select('id_product')
|
$query->select('id_product');
|
||||||
$query->from('cart_product')
|
$query->from('cart_product');
|
||||||
$query->where('id_product = '.(int)$this->gift_product)
|
$query->where('id_product = '.(int)$this->gift_product);
|
||||||
$query->where('id_cart = '.(int)$context->cart->id);
|
$query->where('id_cart = '.(int)$context->cart->id);
|
||||||
|
|
||||||
if ((int)$this->gift_product_attribute)
|
if ((int)$this->gift_product_attribute)
|
||||||
|
|||||||
Reference in New Issue
Block a user