From: Jason Woofenden Date: Sat, 23 Apr 2016 15:20:11 +0000 (-0400) Subject: fix (notice level) syntax error X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=70f9d228533a08f8b07aa55eebcf6371aee6cef6 fix (notice level) syntax error --- 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!'); }