浏览代码

debug list produit

cedric 3 年之前
父节点
当前提交
a0ddbc3ad1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      classes/chcreapost.php

+ 1 - 0
classes/chcreapost.php

@@ -96,6 +96,7 @@ class Chcreapost extends ObjectModel
 				return false;
 			}
 		}
+		$this->related_products = null;
 		if (isset($_POST['related_products_temp']) && !empty($_POST['related_products_temp']) && is_array($_POST['related_products_temp'])) {
 			$this->related_products = @implode(',', $_POST['related_products_temp']);
 		}