Merge branch 'MDL-34507-master' of git://github.com/FMCorz/moodle
This commit is contained in:
@@ -899,6 +899,9 @@ abstract class repository {
|
||||
$repositories = array();
|
||||
if (isset($args['accepted_types'])) {
|
||||
$accepted_types = $args['accepted_types'];
|
||||
if (is_array($accepted_types) && in_array('*', $accepted_types)) {
|
||||
$accepted_types = '*';
|
||||
}
|
||||
} else {
|
||||
$accepted_types = '*';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user