mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-77936' of https://github.com/paulholden/moodle
This commit is contained in:
commit
cedadb7c03
@ -2630,6 +2630,11 @@ class grade_structure {
|
||||
$context->dataid = $element['userid'];
|
||||
}
|
||||
|
||||
// Omit the second divider if there is nothing between it and the first divider.
|
||||
if (!isset($context->ascendingfirstnameurl) && !isset($context->ascendingurl)) {
|
||||
$context->divider2 = false;
|
||||
}
|
||||
|
||||
if (!empty($USER->editing) || isset($context->gradeanalysisurl) || isset($context->gradesonlyurl)
|
||||
|| isset($context->aggregatesonlyurl) || isset($context->fullmodeurl) || isset($context->reporturl0)
|
||||
|| isset($context->ascendingfirstnameurl) || isset($context->ascendingurl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user