Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23876

[Patch] Typo causes activity custom icons to malfunction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If a custom icon for an activity module is specified using the form:

      mod/custommodule/myicon

      via the get_coursemodule_info function, the icon is not displayed.

      This is due to a typo in course/lib.php. The attached patch addresses the issue.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            blt04 Brandon Turner
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10