Added ability to assign a category of product to a customer
This commit is contained in:
parent
bd083483b0
commit
38a6d67193
@ -126,6 +126,8 @@ class Categorie
|
|||||||
global $langs;
|
global $langs;
|
||||||
$langs->load('categories');
|
$langs->load('categories');
|
||||||
|
|
||||||
|
if ($this->socid == -1) $this->socid = 0;
|
||||||
|
|
||||||
if ($this->already_exists ())
|
if ($this->already_exists ())
|
||||||
{
|
{
|
||||||
$this->error=$langs->trans("ImpossibleAddCat");
|
$this->error=$langs->trans("ImpossibleAddCat");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user