From 9dde62c4e838e8053ded2175846407bd3a0614c7 Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Thu, 24 May 2012 09:42:28 +0100 Subject: [PATCH] MDL-33040 Validate dates correctly on log page --- course/report/log/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/report/log/index.php b/course/report/log/index.php index df325b88beb..7534a36eab1 100644 --- a/course/report/log/index.php +++ b/course/report/log/index.php @@ -22,7 +22,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_SAFEDIR); // 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