Commit 2c41bfe8 by 冷斌

fix bug

parent c6bc9586
......@@ -567,9 +567,9 @@ class Model_User extends PhalApi_Model_NotORM
}
$pnum = 50;
$start = ($p - 1) * $pnum;
$touids = DI()->notorm->users_black->select("touid")->where('uid=?', $touid)->limit($start, $pnum)->fetchAll();
$touids = DI()->notorm->users_black->select("uid")->where('touid=?', $touid)->limit($start, $pnum)->fetchAll();
foreach ($touids as $k => $v) {
$userinfo = getUserInfo($v['touid']);
$userinfo = getUserInfo($v['uid']);
if ($userinfo) {
$touids[$k] = $userinfo;
} else {
......
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