mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Fix missing parameter for mysqli_select_db
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user