Update src/Database/Database.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2020-10-06 20:55:36 +02:00 committed by GitHub
parent d39ee428f0
commit 2a464a156f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ class Database
} }
if (!empty(trim($this->configCache->get('database', 'port')))) { 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); $server = trim($server);