Commit 44ec342a by 冷斌

动态

parent e02b304d
......@@ -477,7 +477,7 @@
// $info=getcaches("userinfo_".$uid);
// if(!$info){
$info=DI()->notorm->users
->select('id,user_nicename,avatar,avatar_thumb,sex,signature,coin,consumption,votestotal,province,city,birthday,user_status,issuper,label_id')
->select('id,user_nicename,avatar,avatar_thumb,sex,signature,coin,consumption,votestotal,province,city,birthday,user_status,issuper')
->where('id=? and user_type="2"',$uid)
->fetchOne();
if($info){
......@@ -505,7 +505,6 @@
$info['issuper']='0';
$info['level']='1';
$info['level_anchor']='1';
$info['label_id'] = '';
}
if($info){
setcaches("userinfo_".$uid,$info);
......
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