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

$CFG->displaydebug instead of $CFG->debugdisplay

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Any
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      In admin/cron.php there is a reference to invalid $CFG attribute:
      if (!empty($CFG->showcrondebugging))

      { $CFG->debug = DEBUG_DEVELOPER; $CFG->displaydebug = true; }

      Instead of:
      $CFG->displaydebug
      should be:
      $CFG->debugdisplay

      displaydebug is only used in that file (admin/cron.php), it's not referenced anywhere else in the code.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            tmuras Tomasz Muras
            Tester:
            Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/09