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

Lots of notices for undefined settings in ILP block

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4
    • Fix Version/s: 1.9.5, 2.0
    • Component/s: Package: ILP
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/09