X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=db.php;h=6964e9568d8667a4366520de08e232458b23fd95;hp=229fe10b9d631ba18e59a5c66aa0b9377d735fd5;hb=70f9d228533a08f8b07aa55eebcf6371aee6cef6;hpb=faffdde4b15b98d545f487f783da89aca8190a4e diff --git a/db.php b/db.php index 229fe10..6964e95 100644 --- a/db.php +++ b/db.php @@ -83,7 +83,7 @@ function _db_connection_needed() { return; } if (isset($GLOBALS['wfpl_db_connect_args'])) { - return call_user_func_array(db_connect_now, $GLOBALS['wfpl_db_connect_args']); + return call_user_func_array('db_connect_now', $GLOBALS['wfpl_db_connect_args']); } die('Error: you must call db_connect() or db_auto_connect() first!'); }