Explorar el Código

debug list produit

cedric hace 3 años
padre
commit
a0ddbc3ad1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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']);
 		}