From 5eb1ef01562da6dc3d1b4a19ba976482f69e9474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Fri, 7 Jul 2023 11:33:11 +0300 Subject: [PATCH] Fixed installer db prefix empty.. --- app/Utilities/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utilities/Installer.php b/app/Utilities/Installer.php index 27f5065c4..f6596a9e6 100644 --- a/app/Utilities/Installer.php +++ b/app/Utilities/Installer.php @@ -205,7 +205,7 @@ class Installer public static function saveDbVariables($host, $port, $database, $username, $password, $prefix = null) { - $prefix = !is_null($prefix) ? $prefix : strtolower(Str::random(3) . '_'); + $prefix = !empty($prefix) ? $prefix : strtolower(Str::random(3) . '_'); // Update .env file static::updateEnv([