diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php index 6c4c1a39bdd..0bef6adc2c2 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 28a97d3d89d..03957e00396 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