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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.4
    • Fix Version/s: None
    • Component/s: Module: Game
    • Labels:
      None
    • Plugin Version:
      2019042600
    • Affected Branches:
      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

            Assignee:
            bdaloukas Vasilis Daloukas
            Reporter:
            jfrouleau Jean-François Rouleau
            Participants:
            Component watchers:
            Vasilis Daloukas
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: