Fix :: Administrator not created on new install
This commit is contained in:
parent
01957de5a2
commit
b4a9e6a119
@ -1155,13 +1155,6 @@ class User extends CommonObject
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (empty($this->color))
|
||||
{
|
||||
$langs->load("errors");
|
||||
$this->error = $langs->trans("ErrorColor",$this->color);
|
||||
return -1;
|
||||
}
|
||||
|
||||
$this->db->begin();
|
||||
|
||||
// Mise a jour autres infos
|
||||
|
||||
Loading…
Reference in New Issue
Block a user