Skip to content
Snippets Groups Projects
Commit df5d4795 authored by Francis Appels's avatar Francis Appels
Browse files

Fix on bugfix#1317, clean parameters missing

Clean fk_parent before updating fk_parent
parent 5aa4d61a
No related branches found
No related tags found
No related merge requests found
......@@ -335,6 +335,9 @@ class Categorie extends CommonObject
$error=0;
// Clean parameters
$this->fk_parent = ($this->fk_parent != "" ? intval($this->fk_parent) : 0);
dol_syslog(get_class($this)."::remove");
$this->db->begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment