diff options
author | Valentin Popov <info@valentineus.link> | 2017-12-02 14:32:31 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-12-02 14:32:31 +0300 |
commit | 267dab04842a74cf2107a6391ef9d62ea64e4caf (patch) | |
tree | 21cf8e1cbabac65111691f987210d84bde6efc40 /classes/standard_forms.php | |
parent | c5115b31211814827642865461dc6bc150ba2b12 (diff) | |
download | tool_managertokens-267dab04842a74cf2107a6391ef9d62ea64e4caf.tar.xz tool_managertokens-267dab04842a74cf2107a6391ef9d62ea64e4caf.zip |
The standard goal is a guest account
Diffstat (limited to 'classes/standard_forms.php')
-rw-r--r-- | classes/standard_forms.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/standard_forms.php b/classes/standard_forms.php index cb985bf..0ab66d7 100644 --- a/classes/standard_forms.php +++ b/classes/standard_forms.php @@ -83,6 +83,7 @@ class token_editor_form extends moodleform { /* The identifier element */ $mform->addElement("text", "targetid", new lang_string("idnumbermod", "moodle")); $mform->addRule("targetid", null, "required"); + $mform->setDefault("targetid", 1); $mform->setType("targetid", PARAM_INT); /* The header of constraints */ |