Update zeroboard4.dbt.php
This commit is contained in:
parent
b866485b0b
commit
db138b87c6
|
@ -111,6 +111,7 @@ if(!function_exists("zb4_get_posts")) {
|
||||||
return exec_db_fetch_all($sql);
|
return exec_db_fetch_all($sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!function_exists("zb4_get_post_by_id")) {
|
if(!function_exists("zb4_get_post_by_id")) {
|
||||||
function zb4_get_post_by_id($table_name, $post_id) {
|
function zb4_get_post_by_id($table_name, $post_id) {
|
||||||
$sql = "select * from " . zb4_get_write_table($table_name) . " where no = :no";
|
$sql = "select * from " . zb4_get_write_table($table_name) . " where no = :no";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user