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