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

typo in mod/assign/locallib

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create an assignment
      2. Create a user with permission to grade the assignment (mod/assign:grade) but not permission to see the gradebook (gradereport/grader:view)
      3. Login as this user and grade a submission in the assignment
      4. Verify you do not see debugging in the page
      Show
      Create an assignment Create a user with permission to grade the assignment (mod/assign:grade) but not permission to see the gradebook (gradereport/grader:view) Login as this user and grade a submission in the assignment Verify you do not see debugging in the page
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      spotted this in master code - so not sure if it causes any issues (haven't looked to see if it's in stable branches)

      undefined var $grading_info - should be $gradinginfo.

      4515             if (isset($gradinginfo->items[0]->grades[$userid]) &&
      4516                     !$grading_info->items[0]->grades[$userid]->hidden) {
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/13