diff --git a/htdocs/ecm/class/ecmdirectory.class.php b/htdocs/ecm/class/ecmdirectory.class.php index f30da30fc8e..6e73b229858 100644 --- a/htdocs/ecm/class/ecmdirectory.class.php +++ b/htdocs/ecm/class/ecmdirectory.class.php @@ -457,7 +457,7 @@ class EcmDirectory extends CommonObject $this->id = 0; $this->label = 'MyDirectory'; - $this->fk_parent = '0'; + $this->fk_parent = 0; $this->description = 'This is a directory'; }