From 0502b5122cf28f6ff13cb2cd4ec6456dc846005c Mon Sep 17 00:00:00 2001 From: arborrow Date: Fri, 26 Dec 2008 23:19:47 +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 +- 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 54d2714c9f2..27bafd3eb7f 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 ac3f617f516..d1e02f9bcd3 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 c2a281c8082..d41d1f4bc94 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);