1
This commit is contained in:
parent
2819351697
commit
3bd9c4b5c4
@ -218,7 +218,8 @@ class User extends BaseModel {
|
|||||||
|
|
||||||
public static function isValidHeadId($userInfo, $headId)
|
public static function isValidHeadId($userInfo, $headId)
|
||||||
{
|
{
|
||||||
$headList = emptyReplace(json_decode($userInfo['head_list'], true), array());
|
// $headList = emptyReplace(json_decode($userInfo['head_list'], true), array());
|
||||||
|
$headList = self::getHeadList($userInfo);
|
||||||
return in_array($headId, $headList);
|
return in_array($headId, $headList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user