Commit 5879d4dc by 冷斌

fix bug

parent 92a3a167
...@@ -289,6 +289,8 @@ class AdminPaperAction extends AdministratorAction ...@@ -289,6 +289,8 @@ class AdminPaperAction extends AdministratorAction
if (end($subjectArr) == 0) { if (end($subjectArr) == 0) {
array_pop($subjectArr); array_pop($subjectArr);
} }
var_dump($_POST, $_FILES);
die;
$data['exams_subject_id'] = end($subjectArr); $data['exams_subject_id'] = end($subjectArr);
$data['description'] = t($_POST['description']); $data['description'] = t($_POST['description']);
$data['level'] = intval($_POST['level']); $data['level'] = intval($_POST['level']);
......
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