Update database.php

This commit is contained in:
Namhyeon Go 2018-03-19 04:20:33 +09:00 committed by GitHub
parent 6dba316673
commit 5c3d9bbdf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ if(!function_exists("get_db_stmt")) {
if(!$bind_pdo) {
if(count($bind) > 0) {
foreach($bind as $k=>$v) {
$sql = str_replace(":" . $k, "'" . addslashes($v) . "'", $sql);
$sql = str_replace(":" . $k, "'" . addslashes($v) . "'", $sql);
}
}
}