From 0f142ea0a8e96d824c91f3918c52f66bd7fc9266 Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Tue, 17 Sep 2013 15:14:19 +0800 Subject: [PATCH] MDL-41833 feedback: Fix setType() warning when deleting a response in feedback --- mod/feedback/delete_completed_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/feedback/delete_completed_form.php b/mod/feedback/delete_completed_form.php index a0f677dce99..3c3f513bce6 100644 --- a/mod/feedback/delete_completed_form.php +++ b/mod/feedback/delete_completed_form.php @@ -37,7 +37,7 @@ class mod_feedback_delete_completed_form extends moodleform { $mform->addElement('hidden', 'id'); $mform->setType('id', PARAM_INT); $mform->addElement('hidden', 'completedid'); - $mform->setType('completeid', PARAM_INT); + $mform->setType('completedid', PARAM_INT); $mform->addElement('hidden', 'do_show'); $mform->setType('do_show', PARAM_INT); $mform->addElement('hidden', 'confirmdelete');