extra cleaning of variables; merged from MOODLE_16_STABLE

This commit is contained in:
skodak 2006-05-23 09:02:13 +00:00
parent b6725eba9a
commit 57f2e16c8d

View File

@ -9,6 +9,10 @@
$filterselect = '';
}
//make sure everything is cleaned properly
$filtertype = clean_param($filtertype, PARAM_ALPHA);
$filterselect = clean_param($filterselect, PARAM_INT);
if (empty($currenttab) or empty($user) or empty($course)) {
//error('You cannot call this script in that way');
}