mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
"MDL-13766, repository module, fixed a undefined variable"
This commit is contained in:
parent
d80444efe7
commit
c875ad9a21
@ -1219,7 +1219,7 @@ abstract class repository {
|
||||
$meta->id = $this->id;
|
||||
$meta->name = $this->get_name();
|
||||
$meta->type = $this->options['type'];
|
||||
$meta->icon = $CFG->httpswwwroot.'/repository/'.$repo->type.'/icon.png';
|
||||
$meta->icon = $CFG->httpswwwroot.'/repository/'.$meta->type.'/icon.png';
|
||||
$meta->supported_types = $ft->get_file_ext($this->supported_filetypes());
|
||||
$meta->accepted_types = $this->options['accepted_types'];
|
||||
return $meta;
|
||||
|
Loading…
x
Reference in New Issue
Block a user