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

Click here... displayed instead of 0 in mark details in Quiz Report 'Overview'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.9.1, 2.0
    • Quiz
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      link_to_popup_window displays 'Click here....' as the link text if you pass in 0 as the link text.

      Solved this by formatting the grade using number_format to display the grade with a number of decimal places. So for 0 we display something like 0.00 and this displays OK in link_to_popup_window.

      Attachments

        Activity

          People

            jamiesensei Jamie Pratt
            jamiesensei Jamie Pratt
            Jérôme Mouneyrac Jérôme Mouneyrac
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/May/08