-
Bug
-
Resolution: Fixed
-
Trivial
-
4.4.5, 4.5
assign->view() has:
if (empty($action)) { |
$PAGE->add_body_class('limitedwidth'); |
}
|
But when $action is empty it falls through to the end of a long if/else if/else where – since Moodle 4.0 (MDL-74031) – $PAGE->add_body_class('limitedwidth') is called again:
} else { |
$PAGE->add_body_class('limitedwidth'); |
⋮
|
}
|