diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php index a5e41ee7a3c..5bd73202f15 100644 --- a/htdocs/categories/card.php +++ b/htdocs/categories/card.php @@ -256,7 +256,7 @@ if ($user->rights->categorie->creer) // Color print ''.$langs->trans("Color").''; - print $formother->select_color($color,'color'); + print $formother->selectColor($color,'color'); print ''; // Parent category diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index b48bf57a385..836970e7a3c 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -156,7 +156,7 @@ print ''; print ''; print ''.$langs->trans("Color").''; print ''; -print $formother->select_color($object->color, 'color'); +print $formother->selectColor($object->color, 'color'); print ''; // Parent category