Commit ce542f4c by 冷斌

fix bug

parent 7840c5f4
......@@ -60,7 +60,7 @@ class LevelController extends HomebaseController {
/* 主播等价 */
$Level_a=M("experlevel_anchor");
$levelinfo_a=$Level_a->where("level_up>='{$userinfo['votestotal']}'")->order("levelid asc")->find();
$levelinfo_a=$Level_a->where("level_up>'{$userinfo['votestotal']}'")->order("levelid asc")->find();
if(!$levelinfo_a){
$Level_a['levelid'] = $Level_a['levelid'] > 1 ? ($Level_a['levelid']-1) : $Level_a['levelid'];
$levelinfo_a=$Level_a->order("levelid desc")->find();
......
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