Fixes error in database selection in helper function

main
Yasen Pramatarov 2024-08-11 13:23:06 +03:00
parent 20d9dc0e73
commit 9a3024cfa6
1 changed files with 1 additions and 1 deletions

View File

@ -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 {