From 41068fb8024413546cfbdfe181867a4cb861fdb7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 2 Oct 2014 00:54:17 -0700 Subject: [PATCH] web: fix explode() arg order --- html/inc/db_conn.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/inc/db_conn.inc b/html/inc/db_conn.inc index ba4d827da5..0a076516d6 100644 --- a/html/inc/db_conn.inc +++ b/html/inc/db_conn.inc @@ -27,7 +27,7 @@ class DbConn { function init_conn($user, $passwd, $host, $name) { if (MYSQLI) { - $x = explode($host, ":"); + $x = explode(":", $host); if (sizeof($x)>1) { $host = $x[0]; $port = $x[1];