diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 6c81714e8fc..ad930081387 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -6325,8 +6325,6 @@ class assign { // Hidden params. $mform->addElement('hidden', 'id', $this->get_course_module()->id); $mform->setType('id', PARAM_INT); - $mform->addElement('hidden', 'userid', $userid); - $mform->setType('userid', PARAM_INT); $mform->addElement('hidden', 'rownum', $rownum); $mform->setType('rownum', PARAM_INT); $mform->setConstant('rownum', $rownum);