Fixes error in database selection in helper function
parent
20d9dc0e73
commit
9a3024cfa6
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
// connect to database
|
||||
function connectDB($config,$database) {
|
||||
function connectDB($config, $database = '') {
|
||||
|
||||
if ($database === 'jilo') {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue