We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d2428e commit c7cfe98Copy full SHA for c7cfe98
www/addons/grades/services/grades.js
@@ -57,7 +57,7 @@ angular.module('mm.addons.grades')
57
maxDepth = table.tables[0]['maxdepth'];
58
for (var el in tabledata) {
59
// This is a typical row.
60
- if (typeof(tabledata[el]["leader"]) === "undefined") {
+ if (!angular.isArray(tabledata[el]) && typeof(tabledata[el]["leader"]) === "undefined") {
61
for (var col in tabledata[el]) {
62
returnedColumns.push(col);
63
}
0 commit comments