Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3904

mysqli::real_escape_string() warning raised when resetting course and checklist progress

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: Package: Checklist
    • Labels:
      None
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      When resetting a course, if I check the checkbox to reset the checklist progress and user items, the following warning is displayed for, I think, each item the checlkist contains :

      Warning: mysqli::real_escape_string() expects parameter 1 to be string, object given in [my_moodle_instal_dir]/lib/dml/mysqli_native_moodle_database.php on line 695

      Status of the tasklist component is nevertheless "Ok" in the summary grid. If I click the "Continue" button to reset the course, no error is thrown but the progress of each user is still kept.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: