Update zeroboard4.dbt.php

This commit is contained in:
Namhyeon Go 2018-08-20 01:38:10 +09:00 committed by GitHub
parent b866485b0b
commit db138b87c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,7 @@ if(!function_exists("zb4_get_posts")) {
return exec_db_fetch_all($sql);
}
}
if(!function_exists("zb4_get_post_by_id")) {
function zb4_get_post_by_id($table_name, $post_id) {
$sql = "select * from " . zb4_get_write_table($table_name) . " where no = :no";