mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
parameter cleaup - round 1
This commit is contained in:
parent
1452f9e11b
commit
1c47adc540
14 changed files with 43 additions and 48 deletions
|
@ -14,7 +14,7 @@
|
|||
error("Site isn't defined!");
|
||||
}
|
||||
|
||||
$blockid = required_param( 'block',PARAM_INT );
|
||||
$blockid = required_param('block', PARAM_INT);
|
||||
|
||||
if(($blockrecord = blocks_get_record($blockid)) === false) {
|
||||
error('This block does not exist');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue