diff --git a/Application/Admin/Common/function.php b/Application/Admin/Common/function.php index 0d85156b8..f03c268e7 100644 --- a/Application/Admin/Common/function.php +++ b/Application/Admin/Common/function.php @@ -894,7 +894,7 @@ function clearGameNameType($game_name) //设备名称词典 function getGameTypeName($id,$chinese=true) { - if(!$id){ + if(empty($id)){ return '无'; } $android = 'Android';