1
This commit is contained in:
parent
8412ffcf79
commit
cd74a62a21
@ -56,13 +56,13 @@ class User extends BaseModel {
|
||||
|
||||
public static function isValidHeadFrame($userInfo, $headFrame)
|
||||
{
|
||||
$headFrameList = emptyRelace(json_decode($userInfo['head_frame_list'], true), array());
|
||||
$headFrameList = emptyReplace(json_decode($userInfo['head_frame_list'], true), array());
|
||||
return in_array($headFrame, $headFrameList);
|
||||
}
|
||||
|
||||
private static function getHeadList($userInfo)
|
||||
{
|
||||
$headList = emptyRepalce(json_decode($userInfo['head_list'], true), array());
|
||||
$headList = emptyReplace(json_decode($userInfo['head_list'], true), array());
|
||||
$heroList = array();
|
||||
$heroSkinList = array();
|
||||
return $headList;
|
||||
|
Loading…
x
Reference in New Issue
Block a user