aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/dblayer/functions_mysqli.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dblayer/functions_mysqli.inc.php b/include/dblayer/functions_mysqli.inc.php
index 7de69d02f..8c1ffe5ae 100644
--- a/include/dblayer/functions_mysqli.inc.php
+++ b/include/dblayer/functions_mysqli.inc.php
@@ -48,8 +48,8 @@ function pwg_db_connect($host, $user, $password, $database)
if (strpos($host, '/') === 0)
{
- $host = null;
$socket = $host;
+ $host = null;
}
elseif (strpos($host, ':') !== false)
{