* user: change company to newCompany.
This commit is contained in:
@@ -39,7 +39,7 @@ function changeAddCompany(event)
|
||||
const $inputGroup = $('[name="company"]').closest('.picker-box');
|
||||
if($inputGroup.length == 0) return;
|
||||
$('[name="company"]').zui('picker').destroy();
|
||||
$inputGroup.replaceWith("<input name='company' id='company' class='form-control'/>");
|
||||
$inputGroup.replaceWith("<input name='newCompany' id='newCompany' class='form-control'/>");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -368,7 +368,7 @@ class userModel extends model
|
||||
{
|
||||
if(empty($companyName))
|
||||
{
|
||||
dao::$errors['company'][] = $this->lang->user->error->companyEmpty;
|
||||
dao::$errors['newCompany'][] = sprintf($this->lang->error->notempty, $this->lang->user->company);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user