get_group 함수 실행시 string 인지 체크

This commit is contained in:
thisgun
2020-04-03 12:24:24 +09:00
parent 28d1001d1b
commit 1cc2b141f9
2 changed files with 5 additions and 1 deletions

View File

@ -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();