get_member 함수 유효성 검사 코드 수정

This commit is contained in:
thisgun
2020-06-17 19:56:18 +09:00
parent 5aa60540fa
commit 63822016d5

View File

@ -773,7 +773,8 @@ function get_member($mb_id, $fields='*', $is_cache=false)
{
global $g5;
$mb_id = preg_replace("/[^0-9a-z_]+/i", "", $mb_id);
if (preg_match("/[^0-9a-z_]+/i", $mb_id))
return array();
static $cache = array();