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

Fix PHP warning in upload_manager class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.4, 2.6.1
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: Files API
    • Labels:

      Description

      Fix PHP warning in upload_manager class:

      PHP Warning: Creating default object from empty value in /var/www/lib/uploadlib.php on line 97
      PHP Stack trace:
      PHP 1.

      {main}

      () /var/www/uploadlib-error.php:0
      PHP 2. upload_manager->upload_manager() /var/www/uploadlib-error.php:9

        Attachments

          Activity

            People

            Assignee:
            tlock Tim Lock
            Reporter:
            tlock Tim Lock
            Peer reviewer:
            Petr Skoda
            Integrator:
            Sam Hemelryk
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14