Non-core contributed modules

Lots of notices for undefined settings in ILP block

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor 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().

  1. block_ilp_1.patch
    13/Oct/09 9:56 PM
    0.9 kB
    Mark Johnson
  2. block_ilp.patch
    13/Oct/09 9:44 PM
    3 kB
    Mark Johnson

Issue Links

Activity

Hide
Mark Johnson added a comment -

This patch takes care of some notices in the block's list.php file

Show
Mark Johnson added a comment - This patch takes care of some notices in the block's list.php file

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: