diff --git a/app/Jobs/Util/Import.php b/app/Jobs/Util/Import.php index 1df1683a212e..0d2e837983ed 100644 --- a/app/Jobs/Util/Import.php +++ b/app/Jobs/Util/Import.php @@ -398,6 +398,9 @@ class Import implements ShouldQueue $data = $this->transformCompanyData($data); if (Ninja::isHosted()) { + + $data['subdomain'] = str_replace("_","",$data['subdomain']); + if (!MultiDB::checkDomainAvailable($data['subdomain'])) { $data['subdomain'] = MultiDB::randomSubdomainGenerator(); }