From b2e4228566f480860ea8fb92d49f3dafdd74a1de Mon Sep 17 00:00:00 2001 From: David Bogner Date: Fri, 13 Oct 2023 16:26:47 +0200 Subject: [PATCH] Fix form --- rule/ftpsyncfiles/rule_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/ftpsyncfiles/rule_form.php b/rule/ftpsyncfiles/rule_form.php index fed0d157..9072921e 100644 --- a/rule/ftpsyncfiles/rule_form.php +++ b/rule/ftpsyncfiles/rule_form.php @@ -39,7 +39,7 @@ public function rule_definition() { $mform->addElement('text', 'param3', get_string('sftpport', 'datalynxrule_ftpsyncfiles')); $mform->setType('param3', PARAM_INT); $mform->addElement('text', 'param4', get_string('sftpusername', 'datalynxrule_ftpsyncfiles')); - $mform->setType('param4', PARAM_ALPHAEXT); + $mform->setType('param4', PARAM_TEXT); $mform->addElement('text', 'param5', get_string('sftppassword', 'datalynxrule_ftpsyncfiles')); $mform->setType('param5', PARAM_TEXT); $mform->addElement('text', 'param6', get_string('sftppath', 'datalynxrule_ftpsyncfiles'));