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

question_attempt::$timemodified should not be public

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.6.3
    • Questions
    • None
    • MOODLE_36_STABLE

      question_attempt is a completely encapsulated class (all fields protected, with getters where needed), except for $timemodified, which is public. (Before MDL-65245 it was undeclared, meaning that it was effectively public, and it seems that the privacy code is relying on that.)

      This field should be changed to be protected like everything else.

            Unassigned Unassigned
            timhunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

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