Fix update of color when using HTML5
This commit is contained in:
parent
114131d59d
commit
ddb1fd42fc
1 changed files with 1 additions and 1 deletions
|
|
@ -2159,7 +2159,7 @@ class User extends CommonObject
|
|||
|
||||
$this->accountancy_code_user_general = trim((string) $this->accountancy_code_user_general);
|
||||
$this->accountancy_code = trim((string) $this->accountancy_code);
|
||||
$this->color = trim((string) $this->color);
|
||||
$this->color = trim(str_replace('#', '', (string) $this->color));
|
||||
$this->dateemployment = empty($this->dateemployment) ? '' : $this->dateemployment;
|
||||
$this->dateemploymentend = empty($this->dateemploymentend) ? '' : $this->dateemploymentend;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue