aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_pdo.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2018-01-22 09:34:08 +0100
committerGitHub <noreply@github.com>2018-01-22 09:34:08 +0100
commit131baa9f4584b74ab76328d776c0bb5ce603da7d (patch)
treec962a68dbf7874e326f4ca268fe0183ac184ea12 /include/dba/dba_pdo.php
parent8e475810a74f738fe3b23648b904639e5099d995 (diff)
parent1709dbd376af3171815f25b7055fb41da53924cb (diff)
downloadvolse-hubzilla-131baa9f4584b74ab76328d776c0bb5ce603da7d.tar.gz
volse-hubzilla-131baa9f4584b74ab76328d776c0bb5ce603da7d.tar.bz2
volse-hubzilla-131baa9f4584b74ab76328d776c0bb5ce603da7d.zip
Merge pull request #10 from redmatrix/dev
Dev
Diffstat (limited to 'include/dba/dba_pdo.php')
-rwxr-xr-xinclude/dba/dba_pdo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dba/dba_pdo.php b/include/dba/dba_pdo.php
index f119d8926..7b58561a7 100755
--- a/include/dba/dba_pdo.php
+++ b/include/dba/dba_pdo.php
@@ -15,7 +15,7 @@ class dba_pdo extends dba_driver {
$dsn = $server;
}
else {
- $dsn = $this->driver_dbtype . ':host=' . $server . (intval($port) ? '' : ';port=' . $port);
+ $dsn = $this->driver_dbtype . ':host=' . $server . (intval($port) ? ';port=' . $port : '');
}
$dsn .= ';dbname=' . $db;
@@ -154,4 +154,4 @@ class dba_pdo extends dba_driver {
return 'pdo';
}
-} \ No newline at end of file
+}