Commit c8ef601b by 冷斌

踢人

parent 1a08b38d
......@@ -85,9 +85,9 @@ class Model_Home extends PhalApi_Model_NotORM {
->where('uid=?',$v['uid'])
->fetchOne();
$avatar = $v['thumb'];
if (!empty($image) && $image['status'] == 1) {
$avatar = $image['thumb'];
}
// if (!empty($image) && $image['status'] == 1) {
// $avatar = $image['thumb'];
// }
$userinfo=getUserInfo($v['uid']);
$v['avatar']=$avatar;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment