Commit c4f14a19 by 冷斌

fix bug

parent c0dedf97
......@@ -333,6 +333,10 @@ class IndexAction extends Action
$paper_options['options_type'] = $options_type;
}
}
// 是否收藏
$paper['iscollect'] = D('ZyCollection', 'exams')->isCollect($paper_id, 'exams_paper', intval($this->mid));
$this->assign('paper', $paper);
// 是否练习模式
$this->assign('isPractice', ($_GET['joinType'] == 1) ? 1 : 2);
......
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