Skip to content

Commit

Permalink
Merge branch 'MDL-34507-23' of git://github.com/FMCorz/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_23_STABLE
  • Loading branch information
danpoltawski committed Jul 30, 2012
2 parents 1ab970d + 9480023 commit b700c34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions repository/lib.php
Expand Up @@ -899,6 +899,9 @@ public static function get_instances($args = array()) {
$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 = '*';
}
Expand Down

0 comments on commit b700c34

Please sign in to comment.