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

userquota setting in "Site policies" should be PARAM_INT

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-51829-master
    • Hide
      1. Login in Moodle as an admin.
      2. Go to Site administration > Security > Site policies.
      3. Enter a non-numeric value and Save the changes. Check that an error is shown saying that the value is not valid.
      4. Enter a numeric value and check that the changes are successfully saved.
      Show
      Login in Moodle as an admin. Go to Site administration > Security > Site policies. Enter a non-numeric value and Save the changes. Check that an error is shown saying that the value is not valid. Enter a numeric value and check that the changes are successfully saved.

      When defining the userquota setting the type is not specified, so it's set to default: PARAM_RAW. The type should be set to TYPE_INT, otherwise it can cause problems if an invalid value is set.

            dpalou Dani Palou
            dpalou Dani Palou
            Marina Glancy Marina Glancy
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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