Pārlūkot izejas kodu

debug list produit

cedric 3 gadi atpakaļ
vecāks
revīzija
a0ddbc3ad1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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']);
 		}