diff --git a/modules/splashsync/src/Services/DiscountCollector.php b/modules/splashsync/src/Services/DiscountCollector.php index 1720d042..4fde54e5 100644 --- a/modules/splashsync/src/Services/DiscountCollector.php +++ b/modules/splashsync/src/Services/DiscountCollector.php @@ -351,7 +351,7 @@ private static function toDiscountDbValues(Order $order, array $rawDiscounts): a $data[] = array( 'id_order' => $order->id, 'cart_rule_name' => $cartRuleName, - 'cart_rule_description' => $cartRule->description, + 'cart_rule_description' => Db::getInstance()->_escape($cartRule->description), 'tax_name' => $taxName, 'tax_rate' => $taxRate, 'amount' => $amounts['without_taxes'] ?? 0,