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

PHP Notice when editing multianswer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      From http://moodle.org/mod/forum/discuss.php?d=114504
      Whenever I click on "Decode and Verify Question Text" the following error appears:

      Notice: Object of class stdClass could not be converted to int in /srv/moodle/web/question/type/multianswer/edit_multianswer_form.php on line 39

      This code line will be changed to eliminate the problem which is not apparent in PHP 5.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppichet Pierre Pichet
                Reporter:
                ppichet Pierre Pichet
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Jan/09