From 7a0d2da0ad02ba0294188ab954635c98e2bbf717 Mon Sep 17 00:00:00 2001 From: David Bogner Date: Fri, 13 Oct 2023 16:25:08 +0200 Subject: [PATCH] Fix form data type --- 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 21560fb3..fed0d157 100644 --- a/rule/ftpsyncfiles/rule_form.php +++ b/rule/ftpsyncfiles/rule_form.php @@ -35,7 +35,7 @@ public function rule_definition() { $mform->addElement('header', 'settingshdr', get_string('sftpsettings', 'datalynxrule_ftpsyncfiles')); $mform->addElement('text', 'param2', get_string('sftpserver', 'datalynxrule_ftpsyncfiles')); - $mform->setType('param2', PARAM_ALPHAEXT); + $mform->setType('param2', PARAM_TEXT); $mform->addElement('text', 'param3', get_string('sftpport', 'datalynxrule_ftpsyncfiles')); $mform->setType('param3', PARAM_INT); $mform->addElement('text', 'param4', get_string('sftpusername', 'datalynxrule_ftpsyncfiles'));