diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index f8126eb5833..913409076d9 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -955,8 +955,8 @@ class Form $cat = new Categorie ($this -> db); $cat->get_categories_arbo(); $cate_arbo = $cat->get_arbo_each_cate(); - print ''; //creation des categories meres + $output.= '\n'; foreach($cate_arbo as $key => $value) @@ -965,11 +965,11 @@ class Form $add = "selected='true' "; else $add = ""; - print ''; + $output.= ''; } - print ''; - + $output.= ''; + return $output; }