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

Module Game : Millionnaire help buttons clickable after the game is completed

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6.4
    • None
    • Module: Game
    • None
    • 2019042600
    • MOODLE_36_STABLE

    Description

      After answering sucessfully all questions to win the game, when the "congratulations" message is shown, the 3 help buttons are still active and clickable. If we click on one we have the error:

      Notice: Trying to get property 'answertext' of non-object in /htdocs/moodle/mod/game/millionaire/play.php on line 534
      Notice: Trying to get property 'answer' of non-object in /htdocs/moodle/mod/game/millionaire/play.php on line 539
      Notice: Undefined property: stdClass::$id in /htdocs/moodle/mod/game/millionaire/play.php on line 539
      Notice: Trying to get property 'questiontext' of non-object in /htdocs/moodle/mod/game/millionaire/play.php on line 133
      Notice: Trying to get property 'questionid' of non-object in /htdocs/moodle/mod/game/locallib.php on line 2546

      Attachments

        Activity

          People

            bdaloukas Vasilis Daloukas
            jfrouleau Jean-François Rouleau
            Vasilis Daloukas
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: