country field value changed to company.country
This commit is contained in:
@ -97,10 +97,6 @@ class Companies extends Controller
|
||||
}
|
||||
|
||||
setting()->set($real_key, $value);
|
||||
|
||||
if ($key == 'country') {
|
||||
setting()->set('default.' . $key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
// Save all settings
|
||||
|
@ -89,7 +89,6 @@ class CreateCompany extends Job implements HasOwner, HasSource, ShouldCreate
|
||||
'company.country' => $this->request->get('country'),
|
||||
'default.currency' => $this->request->get('currency'),
|
||||
'default.locale' => $this->request->get('locale', 'en-GB'),
|
||||
'default.country' => $this->request->get('country'),
|
||||
]);
|
||||
|
||||
if (!empty($this->request->settings)) {
|
||||
|
Reference in New Issue
Block a user