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

Notice in convert_tabrows_to_tree in weblib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.8, 1.9
    • Component/s: Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Notice generated when switching to student role and viewing quiz:

      Notice: Undefined variable: tree in /usr/local/apache2/htdocs/moodle/head/lib/weblib.php on line 5657

      ...a quick look at the code shows that the $tree variable is not properly initialised in the function.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07