get_group 함수 실행시 string 인지 체크
This commit is contained in:
@ -463,7 +463,7 @@ if ($bo_table) {
|
||||
}
|
||||
}
|
||||
|
||||
if ($gr_id) {
|
||||
if ($gr_id && is_string($gr_id)) {
|
||||
$group = get_group($gr_id);
|
||||
}
|
||||
|
||||
|
||||
@ -746,6 +746,10 @@ function get_next_num($table)
|
||||
function get_group($gr_id, $is_cache=false)
|
||||
{
|
||||
global $g5;
|
||||
|
||||
if( is_array($gr_id) ){
|
||||
return array();
|
||||
}
|
||||
|
||||
static $cache = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user