Commit 9cdf7514 by 冷斌

fix bug

parent 59c61448
...@@ -294,6 +294,8 @@ class AdminPaperAction extends AdministratorAction ...@@ -294,6 +294,8 @@ class AdminPaperAction extends AdministratorAction
if (!empty(array_filter($attache_ids))) { if (!empty(array_filter($attache_ids))) {
$attache_id = array_pop($attache_ids); $attache_id = array_pop($attache_ids);
} }
echo $attache_id;
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