MDL-20169 fixed coding style, parameter type required

This commit is contained in:
skodak 2009-08-27 19:14:45 +00:00
parent 622365d2e1
commit 92ebcabeb3
16 changed files with 48 additions and 48 deletions

View file

@ -339,7 +339,7 @@ function authorize_print_order($orderid)
print_error('refoundtoorigi', '',
"$CFG->wwwroot/enrol/authorize/index.php?order=$orderid", $order->amount);
}
$amount = round(optional_param('amount', $upto), 2);
$amount = round(optional_param('amount', $upto, PARAM_RAW), 2);
if ($amount > $upto) {
print_error('refoundto', '',
"$CFG->wwwroot/enrol/authorize/index.php?order=$orderid", $upto);