Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-33040 Reports : Validate dates correctly on log page

  • Loading branch information...
commit ed2b8be31a2f267f904152d24e55ec5e67bd63ba 1 parent c7fc982
Andrew Nicols andrewnicols authored nebgor committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  report/log/index.php
2  report/log/index.php
@@ -43,7 +43,7 @@
43 43
44 44 $group = optional_param('group', 0, PARAM_INT); // Group to display
45 45 $user = optional_param('user', 0, PARAM_INT); // User to display
46   -$date = optional_param('date', 0, PARAM_FILE); // Date to display - number or some string
  46 +$date = optional_param('date', 0, PARAM_INT); // Date to display
47 47 $modname = optional_param('modname', '', PARAM_PLUGIN); // course_module->id
48 48 $modid = optional_param('modid', 0, PARAM_FILE); // number or 'site_errors'
49 49 $modaction = optional_param('modaction', '', PARAM_PATH); // an action as recorded in the logs

0 comments on commit ed2b8be

Please sign in to comment.
Something went wrong with that request. Please try again.