From 2a464a156f066d604aeccb4abd0ca7ce66b02ac8 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 6 Oct 2020 20:55:36 +0200 Subject: [PATCH] Update src/Database/Database.php Co-authored-by: Hypolite Petovan --- src/Database/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Database.php b/src/Database/Database.php index 727c2df93..c2dd3c84c 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -99,7 +99,7 @@ class Database } if (!empty(trim($this->configCache->get('database', 'port')))) { - $port = trim(trim($this->configCache->get('database', 'port'))); + $port = trim($this->configCache->get('database', 'port')); } $server = trim($server);