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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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 =

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            nicolasconnault 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
            nicolasconnault 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
            nicolasconnault Nicolas Connault added a comment -

            Applying fix to 1.7.2

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

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

            Show
            tbannister 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:
                  Fix Release Date:
                  30/Mar/07