aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-18 16:08:27 -0800
committerzotlabs <mike@macgirvin.com>2018-01-18 16:08:27 -0800
commit6943960f99a147bf72a70957541c2911a6d9cade (patch)
tree056382a6428c475792f060f3672def64ffc5955e
parent858a6270d59a4a641a0d2dfb610dbefa6f81ebaa (diff)
parent8a60bb461913c59cd65bfaa28c3d40af32a59304 (diff)
downloadvolse-hubzilla-6943960f99a147bf72a70957541c2911a6d9cade.tar.gz
volse-hubzilla-6943960f99a147bf72a70957541c2911a6d9cade.tar.bz2
volse-hubzilla-6943960f99a147bf72a70957541c2911a6d9cade.zip
Merge branch 'dev' of https://github.com/dawnbreak/hubzilla
-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
+}