From 6212ec3217a69799b60d19113f68abc1d8a299a9 Mon Sep 17 00:00:00 2001 From: Tomasz Muras Date: Thu, 17 Jan 2013 23:03:27 +0100 Subject: [PATCH] MDL-37571 Correct form element id. --- admin/tool/customlang/filter_form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/tool/customlang/filter_form.php b/admin/tool/customlang/filter_form.php index 4bfcd58d31a..547a8a4d513 100644 --- a/admin/tool/customlang/filter_form.php +++ b/admin/tool/customlang/filter_form.php @@ -60,8 +60,8 @@ class tool_customlang_filter_form extends moodleform { // Modified only $mform->addElement('advcheckbox', 'modified', get_string('filtermodified', 'tool_customlang')); - $mform->setType('filtermodified', PARAM_BOOL); - $mform->setDefault('filtermodified', 0); + $mform->setType('modified', PARAM_BOOL); + $mform->setDefault('modified', 0); // Substring $mform->addElement('text', 'substring', get_string('filtersubstring', 'tool_customlang'));