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

Typo of variable name in feedback module.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.5, 2.3.2
    • 2.2.6, 2.3.3
    • Feedback
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-36271_master
    • Hide
      1. Visit a course and add the recent activity block if it is not there.
      2. Add a feedback activity.
      3. Click on 'Full report of recent activity...' in the recent activity block.
      4. Ensure you do not get the error 'Undefined property: cm_info::$instace in /var/www/mstorage/s22/moodle/mod/feedback/lib.php'.
      Show
      Visit a course and add the recent activity block if it is not there. Add a feedback activity. Click on 'Full report of recent activity...' in the recent activity block. Ensure you do not get the error 'Undefined property: cm_info::$instace in /var/www/mstorage/s22/moodle/mod/feedback/lib.php'.

    Description

      When visiting a course that contains a feedback module and clicking to view 'Full report of recent activity...' on the 'Recent activity' block the following PHP error occurs.

      Undefined property: cm_info::$instace in /var/www/mstorage/s22/moodle/mod/feedback/lib.php on line 400

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Rajesh Taneja Rajesh Taneja
              Sam Hemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12