Permalink
Browse files

Merge branch 'MDL-60789-33' of git://github.com/sarjona/moodle into M…

…OODLE_33_STABLE
  • Loading branch information...
dmonllao committed Nov 15, 2017
2 parents be05d8c + edd8201 commit ce5fe979f84522eeaf1c7cef9801533ff0c11e40
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/workshop/submission_form.php
@@ -42,6 +42,7 @@ function definition() {
$mform->addElement('text', 'title', get_string('submissiontitle', 'workshop'));
$mform->setType('title', PARAM_TEXT);
$mform->addRule('title', null, 'required', null, 'client');
$mform->addRule('title', get_string('maximumchars', '', 255), 'maxlength', 255, 'client');
$mform->addElement('editor', 'content_editor', get_string('submissioncontent', 'workshop'), null, $contentopts);
$mform->setType('content', PARAM_RAW);

0 comments on commit ce5fe97

Please sign in to comment.