From abc94ae824fe5a7213d3739c70506dfc480e9c6a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 8 Jul 2021 20:45:53 +1000 Subject: [PATCH] Fixes for subdomain fill --- app/Jobs/Util/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Util/Import.php b/app/Jobs/Util/Import.php index cf7672174e5b..3517aa717765 100644 --- a/app/Jobs/Util/Import.php +++ b/app/Jobs/Util/Import.php @@ -336,7 +336,7 @@ class Import implements ShouldQueue $data = $this->transformCompanyData($data); - if(Ninja::isHosted() && strlen($data['subdomain']) > 1) { + if(Ninja::isHosted()) { if(!MultiDB::checkDomainAvailable($data['subdomain'])) $data['subdomain'] = MultiDB::randomSubdomainGenerator();