From e20ea4cde6b9113f301949dc644feecda7f50c6a Mon Sep 17 00:00:00 2001 From: arborrow Date: Fri, 26 Dec 2008 23:14:39 +0000 Subject: [PATCH] MDL-17741 - typo $tableparam --- admin/xmldb/actions/edit_index/edit_index.class.php | 2 +- admin/xmldb/actions/edit_key/edit_key.class.php | 2 +- admin/xmldb/actions/view_table_sql/view_table_sql.class.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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);