Explorar o código

debug list produit

cedric %!s(int64=3) %!d(string=hai) anos
pai
achega
a0ddbc3ad1
Modificáronse 1 ficheiros con 1 adicións e 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']);
 		}