소스 검색

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']);
 		}