diff --git a/htdocs/core/class/html.formcategory.class.php b/htdocs/core/class/html.formcategory.class.php index 91a4d72cf42..312ec50b67a 100644 --- a/htdocs/core/class/html.formcategory.class.php +++ b/htdocs/core/class/html.formcategory.class.php @@ -32,7 +32,7 @@ class FormCategory extends Form * @param Array $preSelected A list with the elements that should pre-selected * @return string A HTML filter box (Note: selected results can get with GETPOST("search_category_".$type."_list")) */ - public function GetFilterBox($type, $preSelected) + public function getFilterBox($type, $preSelected) { // phpcs:enable global $langs; diff --git a/htdocs/product/stock/list.php b/htdocs/product/stock/list.php index 2b6ec559b71..8f8ca7ad283 100644 --- a/htdocs/product/stock/list.php +++ b/htdocs/product/stock/list.php @@ -341,7 +341,7 @@ $moreforfilter = ''; if (!empty($conf->categorie->enabled)) { - $moreforfilter .= $form->GetFilterBox(Categorie::TYPE_WAREHOUSE, $search_category_list); + $moreforfilter .= $form->getFilterBox(Categorie::TYPE_WAREHOUSE, $search_category_list); } /*$moreforfilter.='
';