Commit 532c3369 by 冷斌

fix bug

parent 1741ae2b
......@@ -102,8 +102,9 @@ class DynamicController extends AdminbaseController
{
$id = intval(I("get.id"));
$report = M("users_report_dynamic")->where("id=$id")->find();
var_dump($report);
die;
if (empty($report)) {
return $this->index();
}
$dynamic = $this->dynamic_model->where("id={$report['dynamic_id']}")->find();
$userinfo = getUserInfo($report['uid']);
$userinfo2 = getUserInfo($dynamic['uid']);
......
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