mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-23274 The lang parameter was ignored due to typo
This commit is contained in:
parent
162d02c362
commit
e4c3c7ead2
2
help.php
2
help.php
@ -32,7 +32,7 @@ require_once(dirname(__FILE__) . '/config.php');
|
||||
|
||||
$identifier = required_param('identifier', PARAM_STRINGID);
|
||||
$component = required_param('component', PARAM_SAFEDIR);
|
||||
$lang = required_param('component', PARAM_LANG); // TODO: maybe split into separate scripts
|
||||
$lang = required_param('lang', PARAM_LANG); // TODO: maybe split into separate scripts
|
||||
$ajax = optional_param('ajax', 0, PARAM_BOOL);
|
||||
|
||||
if (!$lang) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user