]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17741 - typo $tableparam; merged from MOODLE_18_STABLE
authorarborrow <arborrow>
Fri, 26 Dec 2008 23:24:58 +0000 (23:24 +0000)
committerarborrow <arborrow>
Fri, 26 Dec 2008 23:24:58 +0000 (23:24 +0000)
admin/xmldb/actions/edit_index/edit_index.class.php
admin/xmldb/actions/edit_key/edit_key.class.php

index 9ba4588f3d7f0bc0d86c0260eab91633e36fec9b..999765db5ae26c3a067f368bf472f060bd97b65b 100644 (file)
@@ -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);
index 085fd719968d8718be92cd38bd5193e34b1c5a42..c87ddaeb459d1a71cffb54c4da2745e9729164af 100644 (file)
@@ -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);