Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4
    • Fix Version/s: 2.3.4, 2.4.1
    • Component/s: Glossary
    • Labels:
    • Rank:
      46242

      Description

      Noticed this warning while testing MDL-35158.

      Strict Standards: Creating default object from empty value in /integration/23/blocks/glossary_random/block_glossary_random.php on line 140
      

      Steps to replicate:

      1. add a glossary activity (can be empty)
      2. add a Random Glossary block and configure it - just need to point it at the glossary you added and save
      3. delete the original Glossary
      4. Refresh the course page and notice the warning appears.
        Note: Refreshing the page again will removed the warning.

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          Thanks for the report.

          Show
          Petr Škoda added a comment - Thanks for the report.
          Hide
          Dan Poltawski added a comment -

          Thanks Petr, i've integrated this now.

          Show
          Dan Poltawski added a comment - Thanks Petr, i've integrated this now.
          Hide
          Frédéric Massart added a comment -

          Test passed on 2.4 and 2.3, thanks!

          Show
          Frédéric Massart added a comment - Test passed on 2.4 and 2.3, thanks!
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Many thanks for your effort, the whole Moodle Community will be enjoying your great solutions starting now!

          Closing, ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Many thanks for your effort, the whole Moodle Community will be enjoying your great solutions starting now! Closing, ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved: