Merge branch 'MDL-58887-33' of git://github.com/ryanwyllie/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -4460,7 +4460,9 @@ class action_menu implements renderable, templatable {
|
||||
|
||||
if ($actionicon instanceof pix_icon) {
|
||||
$primary->icon = $actionicon->export_for_pix();
|
||||
$primary->title = !empty($actionicon->attributes['alt']) ? $this->actionicon->attributes['alt'] : '';
|
||||
if (!empty($actionicon->attributes['alt'])) {
|
||||
$primary->title = $actionicon->attributes['alt'];
|
||||
}
|
||||
} else {
|
||||
$primary->iconraw = $actionicon ? $output->render($actionicon) : '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user