diff --git a/modules/emarsys_rss/flux.php b/modules/emarsys_rss/flux.php index d2478ef4..b93453cc 100755 --- a/modules/emarsys_rss/flux.php +++ b/modules/emarsys_rss/flux.php @@ -53,8 +53,8 @@ class Catalog } else { $sale->reduction = 'Non défini'; } - $desc = new html2text($sale->description[(int)$id_lang]); - $sale->description[$id_lang] = $desc->get_text(); + $desc = new html2text($sale->description[(int) $id_lang]); + $sale->description[(int) $id_lang] = $desc->get_text(); } foreach ($sales_last_day as &$sale) { $sql = ' @@ -69,8 +69,8 @@ class Catalog } else { $sale->reduction = 'Non défini'; } - $desc = new html2text($sale->description[(int)$id_lang]); - $sale->description[$id_lang] = $desc->get_text(); + $desc = new html2text($sale->description[(int) $id_lang]); + $sale->description[(int) $id_lang] = $desc->get_text(); } foreach ($sale_current as &$sale) { $sql = ' @@ -85,8 +85,8 @@ class Catalog } else { $sale->reduction = 'Non défini'; } - $desc = new html2text($sale->description[(int)$id_lang]); - $sale->description[$id_lang] = $desc->get_text(); + $desc = new html2text($sale->description[(int) $id_lang]); + $sale->description[(int) $id_lang] = $desc->get_text(); } $this->setXml($sales_today, $sales_last_day, $sale_current, false, $version);