Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-17741 - typo $tableparam; merged from MOODLE_18_STABLE
  • Loading branch information
arborrow committed Dec 26, 2008
1 parent ae9f991 commit 0502b51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/xmldb/actions/edit_index/edit_index.class.php
Expand Up @@ -84,7 +84,7 @@ function invoke() {
/// Fetch request data
$tableparam = required_param('table', PARAM_CLEAN);
if (!$table =& $structure->getTable($tableparam)) {
$this->errormsg = 'Wrong table specified: ' . $tableparm;
$this->errormsg = 'Wrong table specified: ' . $tableparam;
return false;
}
$indexparam = required_param('index', PARAM_CLEAN);
Expand Down
2 changes: 1 addition & 1 deletion admin/xmldb/actions/edit_key/edit_key.class.php
Expand Up @@ -84,7 +84,7 @@ function invoke() {
/// Fetch request data
$tableparam = required_param('table', PARAM_CLEAN);
if (!$table =& $structure->getTable($tableparam)) {
$this->errormsg = 'Wrong table specified: ' . $tableparm;
$this->errormsg = 'Wrong table specified: ' . $tableparam;
return false;
}
$keyparam = required_param('key', PARAM_CLEAN);
Expand Down
Expand Up @@ -80,7 +80,7 @@ function invoke() {
/// Get parameters
$tableparam = required_param('table', PARAM_PATH);
if (!$table =& $structure->getTable($tableparam)) {
$this->errormsg = 'Wrong table specified: ' . $tableparm;
$this->errormsg = 'Wrong table specified: ' . $tableparam;
return false;
}
$generatorparam = optional_param('generator', null, PARAM_ALPHANUM);
Expand Down

0 comments on commit 0502b51

Please sign in to comment.