diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 19d7d96ffa7..d3944b07f47 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -923,7 +923,7 @@ class Form if ($selected) { - $categorie = new Categorie($this->$db); + $categorie = new Categorie($db); $nb = $categorie->get_nb_categories(); for ($i = 0 ; $i <= $nb ; $i++)