Commit 73636348 by 冷斌

fix bug

parent 3f16cc0a
...@@ -327,7 +327,7 @@ class AdminPaperAction extends AdministratorAction ...@@ -327,7 +327,7 @@ class AdminPaperAction extends AdministratorAction
} }
$paper_id = intval($_GET['paper_id']); $paper_id = intval($_GET['paper_id']);
$b = M('exams_paper')->where(['exams_paper_id' => 7])->save([ $b = M('exams_paper')->where(['exams_paper_id' => 7])->save([
'attachment' => '104' 'attachment' => '123'
]); ]);
var_dump($b, M('exams_paper')->where(['exams_paper_id' => 7])->find()); var_dump($b, M('exams_paper')->where(['exams_paper_id' => 7])->find());
$paper = $this->mod->getPaperById($paper_id); $paper = $this->mod->getPaperById($paper_id);
......
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