Fix: pgsql compatibility

This commit is contained in:
Laurent Destailleur 2011-09-10 23:25:54 +00:00
parent d06d55c851
commit cb35314287

View File

@ -215,7 +215,6 @@ class Categorie
$this->label=trim($this->label); $this->label=trim($this->label);
$this->description=trim($this->description); $this->description=trim($this->description);
$this->parentId = ($this->id_mere) != "" ? intval($this->id_mere) : 0; $this->parentId = ($this->id_mere) != "" ? intval($this->id_mere) : 0;
$this->visible = ($this->visible) != "" ? intval($this->visible) : 0;
if ($this->already_exists()) if ($this->already_exists())
{ {