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

Lots of notices for undefined settings in ILP block

XMLWordPrintable

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

      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().

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.