Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4.6, 3.5.3, 3.6
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-63323-wrong-classes-attribute-into-activity_navigation -
Easy
-
Description
For the activity_navigation class.
Into the attributes list for the action_link, the CSS class value is set into the "classes" key. However, the action_link class require it value in "class" key.
In the method action_link->export_for_template exists the nex line:
$data->classes = isset($attributes['class']) ? $attributes['class'] : ''; |
The "class" key is checked and it is assigned to "classes" attribute.