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

/grade/lib.php typo - use of defined UNCATEGORISED variable vs static, hardcoded string

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8
    • 1.8.2
    • Gradebook
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

      Line 2687 reads:

      $category->name = get_string('uncategorised', 'grades');

      which uses the string 'uncategorised'

      where as lines 2115 and 2390 use the defined variable UNCATEGORISED

      I think we should be consistent and would recommend changing line 2687 to:

      $category->name = get_string(UNCATEGORISED, 'grades'); (this is what Jeff has in GBPv2 but it is different in CVS for 18STABLE.

            jgraham Jeff Graham (Inactive)
            aborrow Anthony Borrow
            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.