Added ability to assign a category of product to a customer
This commit is contained in:
parent
f74fd049aa
commit
857b8eb3bf
@ -50,7 +50,7 @@ if ($_POST["action"] == 'update' && $user->rights->categorie->creer)
|
||||
|
||||
$categorie->label = $_POST["nom"];
|
||||
$categorie->description = $_POST["description"];
|
||||
$categorie->socid = $_POST["socid"];
|
||||
$categorie->socid = ($_POST["socid"] ? $_POST["socid"] : 'null');
|
||||
$categorie->visible = $_POST["visible"];
|
||||
|
||||
if($_POST['catMere'] != "-1")
|
||||
|
||||
@ -100,7 +100,7 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer)
|
||||
|
||||
$categorie->label = $_POST["nom"];
|
||||
$categorie->description = $_POST["description"];
|
||||
$categorie->socid = $_POST["socid"];
|
||||
$categorie->socid = ($_POST["socid"] ? $_POST["socid"] : 'null');
|
||||
$categorie->visible = $_POST["visible"];
|
||||
$categorie->type = $_POST["type"];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user