MDL-23274 The lang parameter was ignored due to typo

This commit is contained in:
David Mudrak 2010-07-28 10:57:48 +00:00
parent 162d02c362
commit e4c3c7ead2

View File

@ -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) {