MDL-40258: Fixed invalid json string error in file-picker

This commit is contained in:
Sam Chaffee
2013-06-24 18:57:08 +02:00
committed by Eloy Lafuente (stronk7)
parent cc6641f040
commit 4417a705cf
+1 -1
View File
@@ -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));
}
/**