From 8edebaef85f0ee0f0f5c2a3ee3e56554181c241f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 19 Feb 2024 08:47:32 +1100 Subject: [PATCH] V5.8.27 --- VERSION.txt | 2 +- app/Jobs/Util/Import.php | 2 +- config/ninja.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION.txt b/VERSION.txt index 96c215198d..df3286a2ff 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.8.26 \ No newline at end of file +5.8.27 \ No newline at end of file diff --git a/app/Jobs/Util/Import.php b/app/Jobs/Util/Import.php index 99da853cc7..ae9b9bea12 100644 --- a/app/Jobs/Util/Import.php +++ b/app/Jobs/Util/Import.php @@ -420,7 +420,7 @@ class Import implements ShouldQueue if (Ninja::isHosted()) { - $data['subdomain'] = str_replace("_", "", $data['subdomain']); + $data['subdomain'] = str_replace("_", "", ($data['subdomain'] ?? '')); if (!MultiDB::checkDomainAvailable($data['subdomain'])) { $data['subdomain'] = MultiDB::randomSubdomainGenerator(); diff --git a/config/ninja.php b/config/ninja.php index 860ad8ef15..e1ab63d1bd 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -17,8 +17,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => env('APP_VERSION', '5.8.26'), - 'app_tag' => env('APP_TAG', '5.8.26'), + 'app_version' => env('APP_VERSION', '5.8.27'), + 'app_tag' => env('APP_TAG', '5.8.27'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),