Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1569

Lots of notices for undefined settings in ILP block

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.4
    • 1.9.5, 2.0
    • Package: ILP
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      When viewing a student's PLP page in the ILP block, there's a lot of undefined properties displayed if some reports are not turned on.
      The attached patch does empty() checks on the properties in question, and ensures that $ilpcourses is defined in get_my_ilp_courses before it's passed to foreach().

      Attachments

        Issue Links

          Activity

            People

              jballard James Ballard
              marxjohnson Mark Johnson
              James Ballard
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/May/09