From 1628ba8bbe80386746703c4ea03f9b1bc7a8aa5c Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Mon, 28 Jun 2010 13:15:03 +0000 Subject: [PATCH] fixed recent regression + simplified code a bit --- mod/assignment/type/online/assignment.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assignment/type/online/assignment.class.php b/mod/assignment/type/online/assignment.class.php index 3d68d3bd767..7fee30b3541 100644 --- a/mod/assignment/type/online/assignment.class.php +++ b/mod/assignment/type/online/assignment.class.php @@ -440,7 +440,7 @@ class mod_assignment_online_edit_form extends moodleform { $mform->addElement('hidden', 'id'); $mform->setType('id', PARAM_INT); - $mform->addElement('hidden', 'edit', 1); + $mform->addElement('hidden', 'edit'); $mform->setType('edit', PARAM_INT); // buttons -- 2.43.0