Commit a93d1e75 by 冷斌

fix bug

parent 3829b6d4
...@@ -1330,7 +1330,7 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -1330,7 +1330,7 @@ class Model_Home extends PhalApi_Model_NotORM {
->fetchAll(); ->fetchAll();
foreach ($result as $k => $v) { foreach ($result as $k => $v) {
$userinfo=getUserInfo($v['touid']); $userinfo=getUserInfo($v['touid']);
$v['uid']=$userinfo['touid']; $v['uid']=$v['touid'];
$v['avatar']=$userinfo['avatar']; $v['avatar']=$userinfo['avatar'];
$v['avatar_thumb']=$userinfo['avatar_thumb']; $v['avatar_thumb']=$userinfo['avatar_thumb'];
$v['user_nicename']=$userinfo['user_nicename']; $v['user_nicename']=$userinfo['user_nicename'];
......
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