From 99fd4f798806b24259322043b52f87398b86956b Mon Sep 17 00:00:00 2001 From: arborrow Date: Fri, 26 Dec 2008 23:24:58 +0000 Subject: [PATCH] MDL-17741 - typo $tableparam; merged from MOODLE_18_STABLE --- admin/xmldb/actions/edit_index/edit_index.class.php | 2 +- admin/xmldb/actions/edit_key/edit_key.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/xmldb/actions/edit_index/edit_index.class.php b/admin/xmldb/actions/edit_index/edit_index.class.php index 9ba4588f3d..999765db5a 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 085fd71996..c87ddaeb45 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); -- 2.39.5