Update database.alt.php

This commit is contained in:
Namhyeon Go 2018-09-12 13:45:16 +09:00 committed by GitHub
parent c502366f88
commit 1baaae3ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ if(!function_exists("exec_db_alt_callback")) {
if(is_array($params) && count($params) > 0) {
$result = call_user_func_array($rule['callback'], $params);
} else {
$result = call_user_func($rule['callback'])
$result = call_user_func($rule['callback']);
}
}
}
@ -82,7 +82,7 @@ if(!function_exists("exec_db_alt_query")) {
)
);
$result = exec_db_alt_callback($rules);
$result = exec_db_alt_callback($rules, array($sql, $bind));
return $result;
}
@ -111,7 +111,7 @@ if(!function_exists("exec_db_alt_fetch_all")) {
)
);
$rows = exec_db_alt_callback($rules);
$rows = exec_db_alt_callback($rules, array($sql, $bind));
return $rows;
}