mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for checking subdomains
This commit is contained in:
parent
e6921a3303
commit
0475722827
@ -82,7 +82,7 @@ class UpdateCompanyRequest extends Request
|
|||||||
$input['settings'] = (array)$this->filterSaveableSettings($input['settings']);
|
$input['settings'] = (array)$this->filterSaveableSettings($input['settings']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(array_key_exists('subdomain', $input) && $this->subdomain == $input['subdomain']) {
|
if(array_key_exists('subdomain', $input) && $this->company->subdomain == $input['subdomain']) {
|
||||||
unset($input['subdomain']);
|
unset($input['subdomain']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user