Commit 3f16cc0a by 冷斌

fix bug

parent e90bede7
...@@ -329,7 +329,7 @@ class AdminPaperAction extends AdministratorAction ...@@ -329,7 +329,7 @@ class AdminPaperAction extends AdministratorAction
$b = M('exams_paper')->where(['exams_paper_id' => 7])->save([ $b = M('exams_paper')->where(['exams_paper_id' => 7])->save([
'attachment' => '104' 'attachment' => '104'
]); ]);
var_dump($b); var_dump($b, M('exams_paper')->where(['exams_paper_id' => 7])->find());
$paper = $this->mod->getPaperById($paper_id); $paper = $this->mod->getPaperById($paper_id);
if (!$paper) { if (!$paper) {
$this->jumpUrl = U('exams/AdminPaper/index'); $this->jumpUrl = U('exams/AdminPaper/index');
......
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