MDL-17741 - typo $tableparam

This commit is contained in:
arborrow 2008-12-26 20:46:40 +00:00
parent bb53eb49a8
commit 4acd575cad

View file

@ -84,7 +84,7 @@ class edit_field extends XMLDBAction {
/// 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;
}
$fieldparam = required_param('field', PARAM_CLEAN);