Skip to content
Browse files

MDL-33040 Validate dates correctly on log page

  • Loading branch information...
1 parent 71d7bc3 commit eb7b030a8bd487b10e6d59cad6d7123ec45d2f20 @andrewnicols andrewnicols committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 report/log/index.php
View
2 report/log/index.php
@@ -42,7 +42,7 @@
$group = optional_param('group', 0, PARAM_INT); // Group to display
$user = optional_param('user', 0, PARAM_INT); // User to display
-$date = optional_param('date', 0, PARAM_FILE); // Date to display - number or some string
+$date = optional_param('date', 0, PARAM_INT); // Date to display
$modname = optional_param('modname', '', PARAM_PLUGIN); // course_module->id
$modid = optional_param('modid', 0, PARAM_FILE); // number or 'site_errors'
$modaction = optional_param('modaction', '', PARAM_PATH); // an action as recorded in the logs

0 comments on commit eb7b030

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