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

Undefined index in badges/renderer.php (take#2)

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.7.4, 3.8.1, 3.9
    • None
    • Badges
    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

    Description

      This may be considered a followup/take#2 of MDL-64441 where a similar PHP notice was fixed. sarjona pointed me to that issue.

      Using recent 38_STABLE (3.8.1 release), when displaying badge details... if the badge is missing any language... it shows:

      Notice: Undefined index: in .../moodle_ci_site/badges/renderer.php on line 176
      

      For badges in the same site but with a language, no notice is shown.

      Ciao

      (added 37, 38 and 39 as versions though I've not verified it against 37)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stronk7 Eloy Lafuente (stronk7)
              Yuliya Bozhko, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: