Merge branch 'MDL-40258_master' of git://github.com/sam-moodle/moodle
This commit is contained in:
+1
-1
@@ -1878,7 +1878,7 @@ function file_get_typegroup($element, $groups) {
|
||||
}
|
||||
$result = array_merge($result, $cached[$element][$group]);
|
||||
}
|
||||
return array_unique($result);
|
||||
return array_values(array_unique($result));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user