mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
"MDL-23326, fixed undefined index"
This commit is contained in:
parent
9f76d281af
commit
5513379ae6
@ -163,6 +163,7 @@ class repository_filesystem extends repository {
|
||||
}
|
||||
if (empty($choices)) {
|
||||
$mform->addElement('static', '', '', get_string('nosubdir', 'repository_filesystem', $path));
|
||||
$mform->addElement('hidden', 'fs_path', $fieldname, '');
|
||||
} else {
|
||||
$mform->addElement('select', 'fs_path', $fieldname, $choices);
|
||||
$mform->addElement('static', null, '', get_string('information','repository_filesystem', $path));
|
||||
|
Loading…
x
Reference in New Issue
Block a user