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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.4
    • 1.9.3
    • Other
    • None
    • Any
    • Any
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

      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.

            skodak Petr Skoda
            tmuras Tomasz Muras
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.