Update database.php

This commit is contained in:
Namhyeon Go 2019-12-31 16:04:54 +09:00 committed by GitHub
parent b8dcb87e08
commit cb3d85d11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -604,7 +604,7 @@ if(!check_function_exists("get_bind_to_sql_select")) {
foreach($_rows as $_row) {
$separated_sqls[] = sprintf($sql, $s1, $_row['table_name'], $s3, $s4, $s5);
}
$sql = sprintf("(%s)", implode(") union (", $separated_sqls);
$sql = sprintf("(%s)", implode(") union (", $separated_sqls));
}
return $sql;