mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +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
|
@ -157,7 +157,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
} else if ($lesson->highscores and !$lesson->practice and !optional_param('viewed', 0) and empty($pageid)) {
|
||||
} else if ($lesson->highscores and !$lesson->practice and !optional_param('viewed', 0, PARAM_INT) and empty($pageid)) {
|
||||
// Display high scores before starting lesson
|
||||
redirect("$CFG->wwwroot/mod/lesson/highscores.php?id=$cm->id");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue