From 1ba7531739e58ed573c55bcc32c331a3479495ca Mon Sep 17 00:00:00 2001 From: Oldperl <44996956+oldperl@users.noreply.github.com> Date: Fri, 13 Jan 2017 13:31:25 +0000 Subject: [PATCH] fixed wrong sequence of parameters for mysqli check --- setup/lib/functions.mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/lib/functions.mysql.php b/setup/lib/functions.mysql.php index 4a6ca76..82de49e 100644 --- a/setup/lib/functions.mysql.php +++ b/setup/lib/functions.mysql.php @@ -188,7 +188,7 @@ function checkMySQLDatabaseUse ($db, $database) if (hasMySQLiExtension() && !hasMySQLExtension()) { - if (@mysqli_select_db($database, $db->Link_ID)) + if (@mysqli_select_db($db->Link_ID, $database)) { return true; } else {