From f4f2c652acbcd074b23cfa17fae8df570f28b3e5 Mon Sep 17 00:00:00 2001 From: laf Date: Sat, 15 Aug 2015 09:55:53 +0000 Subject: [PATCH] Fix missing parameter for mysqli_select_db --- build-base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-base.php b/build-base.php index c82d6adbb3..d00a62e0c1 100644 --- a/build-base.php +++ b/build-base.php @@ -20,7 +20,7 @@ if ($connection === false) { exit(1); } -$select = mysqli_select_db($config['db_name']); +$select = mysqli_select_db($connection, $config['db_name']); if ($select === false) { echo 'ERROR: Cannot select database: '.mysqli_error($connection)."\n"; exit(1);