mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Catch all for null subdomains
This commit is contained in:
parent
80d033b952
commit
eaebaccdaf
@ -337,6 +337,10 @@ class Import implements ShouldQueue
|
||||
|
||||
if(!MultiDB::checkDomainAvailable($data['subdomain']))
|
||||
$data['subdomain'] = MultiDB::randomSubdomainGenerator();
|
||||
|
||||
if(strlen($data['subdomain']) == 0)
|
||||
$data['subdomain'] = MultiDB::randomSubdomainGenerator();
|
||||
|
||||
}
|
||||
|
||||
$rules = (new UpdateCompanyRequest())->rules();
|
||||
|
Loading…
x
Reference in New Issue
Block a user