Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-35634 course: Restored alt attribute on module icons

  • Loading branch information...
commit 49e4881bffb7e24705d15f1f0b8831db86209dbf 1 parent c5575c6
@FMCorz FMCorz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/lib.php
View
2  course/lib.php
@@ -1617,7 +1617,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
// Display link itself
echo '<a ' . $linkcss . $mod->extra . $onclick .
' href="' . $url . '"><img src="' . $mod->get_icon_url() .
- '" class="activityicon" alt="" /> ' .
+ '" class="activityicon" alt="' . $modulename . '" /> ' .
$accesstext . '<span class="instancename">' .
$instancename . $altname . '</span></a>';
Please sign in to comment.
Something went wrong with that request. Please try again.