Merge branch 'MDL-33040-master-1' of git://git.luns.net.uk/moodle
authorAparup Banerjee <aparup@moodle.com>
Thu, 31 May 2012 07:11:25 +0000 (15:11 +0800)
committerAparup Banerjee <aparup@moodle.com>
Thu, 31 May 2012 07:20:53 +0000 (15:20 +0800)
report/log/index.php

index c0a94fe..a672f2a 100644 (file)
@@ -42,7 +42,7 @@ if (empty($host_course)) {
 
 $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