Commit 4743a3b2 by 冷斌

fix bug

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