diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 4c34542ce59..8bf63b93467 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -349,6 +349,8 @@ if (empty($reshook)) { $object->salaryextra = GETPOST("salaryextra") != '' ? GETPOST("salaryextra") : ''; $object->weeklyhours = GETPOST("weeklyhours") != '' ? GETPOST("weeklyhours") : ''; + $object->color = GETPOST("color") != '' ? GETPOST("color") : ''; + if (! empty($conf->multicompany->enabled)) { if (! empty($_POST["superadmin"]))