Update database.php
This commit is contained in:
parent
ef49d3e940
commit
9ae6ab79e9
|
@ -89,6 +89,8 @@ if(!function_exists("compare_db_key_length")) {
|
||||||
|
|
||||||
if(!function_exists("get_db_binded_sql")) {
|
if(!function_exists("get_db_binded_sql")) {
|
||||||
function get_db_binded_sql($sql, $bind=array()) {
|
function get_db_binded_sql($sql, $bind=array()) {
|
||||||
|
$sql = "";
|
||||||
|
|
||||||
$bind_keys = get_array(array_keys($bind));
|
$bind_keys = get_array(array_keys($bind));
|
||||||
if(check_array_length($bind_keys, 0) > 0) {
|
if(check_array_length($bind_keys, 0) > 0) {
|
||||||
// 2018-08-19: support lower php version (not supported anonymous function)
|
// 2018-08-19: support lower php version (not supported anonymous function)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user