]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Database/Database.php
authorPhilipp <admin+Github@philipp.info>
Tue, 6 Oct 2020 18:55:36 +0000 (20:55 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 18:55:36 +0000 (20:55 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Database/Database.php

index 727c2df93ccbcd4c1d2b6c80a0eb7b6d8f2ff61d..c2dd3c84c78cde7de0247508d383f3113f1bf6f5 100644 (file)
@@ -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);