Fix: pgsql compatibility
This commit is contained in:
parent
889c3b3521
commit
ea0b2c6c2c
@ -215,7 +215,8 @@ class Categorie
|
||||
$this->label=trim($this->label);
|
||||
$this->description=trim($this->description);
|
||||
$this->parentId = ($this->id_mere) != "" ? intval($this->id_mere) : 0;
|
||||
|
||||
$this->visible = ($this->visible) != "" ? intval($this->visible) : 0;
|
||||
|
||||
if ($this->already_exists())
|
||||
{
|
||||
$this->error=$langs->trans("ImpossibleUpdateCat");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user