Moodle
  1. Moodle
  2. MDL-8633

Undefined variable '$output' in /lib/weblib.php on line 3283 function print_png()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2, 1.8
    • Component/s: Libraries
    • Labels:
      None
    • Environment:
      All environments
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE
    • Rank:
      29114

      Description

      It is a undefined variable $output in the function print_png() in weblib.php on line 3283

      the first use is $output .= rather than $output =

        Activity

        Hide
        Nicolas Connault added a comment -

        This code must have been routinely fixed by someone during one of the many changes to this file. The first instance of that variable is correctly $output = '';

        Show
        Nicolas Connault added a comment - This code must have been routinely fixed by someone during one of the many changes to this file. The first instance of that variable is correctly $output = '';
        Hide
        Nicolas Connault added a comment -

        Applying fix to 1.7.2

        Show
        Nicolas Connault added a comment - Applying fix to 1.7.2
        Hide
        Tyler Bannister added a comment -

        This bug is back in the latest 1.9.10 weekly build. Not sure when it was unfixed.

        Show
        Tyler Bannister added a comment - This bug is back in the latest 1.9.10 weekly build. Not sure when it was unfixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: