MDL-40258: Fixed invalid json string error in file-picker
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
cc6641f040
commit
4417a705cf
+1
-1
@@ -1928,7 +1928,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