diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-21 17:08:39 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-21 17:08:39 -0800 |
commit | d4c81d8e0e4cea191009da66c1a4374e6537fc61 (patch) | |
tree | c962a68dbf7874e326f4ca268fe0183ac184ea12 /include/dba/dba_pdo.php | |
parent | 89aa882c95b4d01bd7bf6ff461c1dcefdedea7bd (diff) | |
parent | 1709dbd376af3171815f25b7055fb41da53924cb (diff) | |
download | volse-hubzilla-d4c81d8e0e4cea191009da66c1a4374e6537fc61.tar.gz volse-hubzilla-d4c81d8e0e4cea191009da66c1a4374e6537fc61.tar.bz2 volse-hubzilla-d4c81d8e0e4cea191009da66c1a4374e6537fc61.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/dba/dba_pdo.php')
-rwxr-xr-x | include/dba/dba_pdo.php | 4 |
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 +} |