Update database.php

This commit is contained in:
Namhyeon Go 2018-03-19 02:12:11 +09:00 committed by GitHub
parent 34168b2bba
commit 50595e7a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,10 +148,10 @@ if(!function_exists("get_page_range")) {
} }
} }
// alias sql_query from exec_stmt_query // alias sql_query from exec_db_query
if(!function_exists("sql_query")) { if(!function_exists("sql_query")) {
function sql_query($sql, $bind=array()) { function sql_query($sql, $bind=array()) {
return exec_stmt_query($sql, $bind); return exec_db_query($sql, $bind);
} }
} }