Merge branch 'MDL-40258_master' of git://github.com/sam-moodle/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2013-06-24 18:56:08 +02:00
+1 -1
View File
@@ -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));
}
/**