Skip to content

Commit

Permalink
MDL-23274 The lang parameter was ignored due to typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Jul 28, 2010
1 parent 162d02c commit e4c3c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion help.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

$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) {
Expand Down

0 comments on commit e4c3c7e

Please sign in to comment.