Moodle
  1. Moodle
  2. MDL-4524

Incorrect datalib.php warning fix

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      The fix Penny Leach commited to CVS related to the issue described here

      http://moodle.org/mod/forum/discuss.php?d=36226#167658 is incorrect.

      It tests whether $courses is empty or not. We should test $course (witout final 's').

      A patch is attached.

        Gliffy Diagrams

          Activity

          Hide
          Martin Dougiamas added a comment -

          From (penny at catalyst.net.nz) Saturday, 31 December 2005, 03:46 AM:

          fixed. thanks for the patch.

          Show
          Martin Dougiamas added a comment - From (penny at catalyst.net.nz) Saturday, 31 December 2005, 03:46 AM: fixed. thanks for the patch.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: