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

Code dependency on PHP V4 in questiontypes.class.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.6
    • 1.9.6
    • Module: Questionnaire
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      In questiontypes.class.php, there is a code construct using a function and an object that is not valid in pre-V5 PHP. An example is:

      $content = choice_values($choice->content)->text;

      Since Moodle 1.9 should work in V4 versions of PHP, this should be fixed.

      Attachments

        Activity

          People

            mchurch Mike Churchward
            mchurch Mike Churchward
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              21/Oct/09