From: skodak Date: Thu, 27 Aug 2009 08:23:10 +0000 (+0000) Subject: fixed sloppy coding style X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6472929b6d4e945abb10cd0bb4c44b182ad57b8f;p=moodle.git fixed sloppy coding style --- diff --git a/grade/report/grader/ajax_callbacks.php b/grade/report/grader/ajax_callbacks.php index c5bc433bc6..0ed63df038 100644 --- a/grade/report/grader/ajax_callbacks.php +++ b/grade/report/grader/ajax_callbacks.php @@ -22,7 +22,7 @@ require_once $CFG->dirroot.'/grade/lib.php'; // require_once $CFG->dirroot.'/grade/report/grader/ajaxlib.php'; // require_once $CFG->dirroot.'/grade/report/grader/lib.php'; -$courseid = required_param('id'); // course id +$courseid = required_param('id', PARAM_INT); // course id $userid = optional_param('userid', false, PARAM_INT); $itemid = optional_param('itemid', false, PARAM_INT); $type = optional_param('type', false, PARAM_ALPHA);