diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 3f538a58b7e..0d09ac01077 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -357,7 +357,7 @@ class FormFile $class='Modele'.ucfirst($modulepart); if (class_exists($class)) { - $modellist=$class::liste_modeles($this->db); + $modellist=call_user_func($class.'::liste_modeles',$this->db); } else {