fix bug
This commit is contained in:
@@ -99,6 +99,7 @@ class Article
|
|||||||
if(empty($vo['imgs'])) $vo['imgs'] = "";
|
if(empty($vo['imgs'])) $vo['imgs'] = "";
|
||||||
$info['other_list'][] = $vo;
|
$info['other_list'][] = $vo;
|
||||||
}
|
}
|
||||||
|
if(!empty($info['other_list'])) shuffle($info['other_list']);
|
||||||
$info['userinfo']=[];
|
$info['userinfo']=[];
|
||||||
$userinfo = Db::name("student")->where("id",$info['userid'])->field("nickname,avatar,age,type,disabled as is_disabled,city,school,hot")->find();
|
$userinfo = Db::name("student")->where("id",$info['userid'])->field("nickname,avatar,age,type,disabled as is_disabled,city,school,hot")->find();
|
||||||
$info['userinfo'] = $userinfo;
|
$info['userinfo'] = $userinfo;
|
||||||
|
|||||||
Reference in New Issue
Block a user