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

grade_item get_final() returns std_class not grade_grade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6.6, 2.7.3, 2.8
    • Gradebook, PHPDoc

      The documentation for get_final() in the grade_item class indicates it should either return a grade_grade item or an array of grade_grade objects.

      It doesn't. It returns an array of the objects returned directly from the database.

      This means you can't use any of the grade_grade methods (such as is_hidden()).

            Unassigned Unassigned
            mhughes2k Michael Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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