Commit a048734f by 冷斌

fix bug

parent d1b25e14
...@@ -326,7 +326,7 @@ class AdminPaperAction extends AdministratorAction ...@@ -326,7 +326,7 @@ class AdminPaperAction extends AdministratorAction
exit; exit;
} }
$paper_id = intval($_GET['paper_id']); $paper_id = intval($_GET['paper_id']);
$b = M('exams_paper')->where(['exams_paper_id' => $paper_id])->save([ $b = M('exams_paper')->where(['exams_paper_id' => $paper_id])->update([
'attache' => '104' 'attache' => '104'
]); ]);
var_dump($b); var_dump($b);
......
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