diff --git a/admin/xmldb/actions/edit_index/edit_index.class.php b/admin/xmldb/actions/edit_index/edit_index.class.php index 391abc882f4..31f38b1cb0f 100644 --- a/admin/xmldb/actions/edit_index/edit_index.class.php +++ b/admin/xmldb/actions/edit_index/edit_index.class.php @@ -84,7 +84,7 @@ class edit_index 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; } $indexparam = required_param('index', PARAM_CLEAN); diff --git a/admin/xmldb/actions/edit_key/edit_key.class.php b/admin/xmldb/actions/edit_key/edit_key.class.php index cbe7db2b282..f12ed74adcf 100644 --- a/admin/xmldb/actions/edit_key/edit_key.class.php +++ b/admin/xmldb/actions/edit_key/edit_key.class.php @@ -84,7 +84,7 @@ class edit_key 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; } $keyparam = required_param('key', PARAM_CLEAN); diff --git a/admin/xmldb/actions/view_table_sql/view_table_sql.class.php b/admin/xmldb/actions/view_table_sql/view_table_sql.class.php index 76cead8255a..5a91ac5dafb 100644 --- a/admin/xmldb/actions/view_table_sql/view_table_sql.class.php +++ b/admin/xmldb/actions/view_table_sql/view_table_sql.class.php @@ -80,7 +80,7 @@ class view_table_sql extends XMLDBAction { /// 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);