Commit 54f07eeb by 冷斌

fix bug

parent 207652dc
...@@ -65,15 +65,11 @@ class ManualController extends AdminbaseController { ...@@ -65,15 +65,11 @@ class ManualController extends AdminbaseController {
if ($liang > 0) { if ($liang > 0) {
$user_login = $liang; $user_login = $liang;
} }
// $uid=$users_obj->where("id='$user_login'")->getField("id"); $uid=$users_obj->where("id='$user_login'")->getField("id");
$user=$users_obj->where("id=$user_login")->find();
var_dump($user, $user_login, $liang);
die;
if(!$uid){ if(!$uid){
$this->error("会员不存在,请更正"); $this->error("会员不存在,请更正");
} }
$id=$_SESSION['ADMIN_ID']; $id=$_SESSION['ADMIN_ID'];
$user=$users_obj->where("id=$id")->find(); $user=$users_obj->where("id=$id")->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