mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-20169 fixed coding style, parameter type required
This commit is contained in:
parent
622365d2e1
commit
92ebcabeb3
16 changed files with 48 additions and 48 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue