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.
2 parents 1c1b29a + c7cfe98 commit 0b4289cCopy full SHA for 0b4289c
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