Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31676

error in lib/formslib.php v1.129.2.29

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.16
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      there is a call to a function not implemented in php 4.3 (wich is required for moodle 1.9).
      In line 1504:
      } else if (method_exists($element, 'getPrivateName') && !($element instanceof HTML_QuickForm_advcheckbox)) {

      The function instanceof is implemented in php 5. This call should be replaced by is_a()

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: