Merge pull request #1774 from fappels/develop
Fix on bugfix#1317, clean parameters missing
This commit is contained in:
commit
2bec2b4bec
@ -335,6 +335,9 @@ class Categorie extends CommonObject
|
|||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
|
// Clean parameters
|
||||||
|
$this->fk_parent = ($this->fk_parent != "" ? intval($this->fk_parent) : 0);
|
||||||
|
|
||||||
dol_syslog(get_class($this)."::remove");
|
dol_syslog(get_class($this)."::remove");
|
||||||
|
|
||||||
$this->db->begin();
|
$this->db->begin();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user