Update database.php

This commit is contained in:
Namhyeon Go 2019-04-01 16:19:22 +09:00 committed by GitHub
parent a2c20bed27
commit 25895fb771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,8 +458,8 @@ if(!check_function_exists("get_bind_to_sqlx")) {
// alias sql_query from exec_db_query
if(!check_function_exists("sql_query")) {
function sql_query($sql, $bind=array()) {
return exec_db_query($sql, $bind);
function sql_query($sql, $bind=array(), $options=array()) {
return exec_db_query($sql, $bind, $options);
}
}