]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed one wrong urlencode after error.
authorstronk7 <stronk7>
Mon, 2 Apr 2007 22:03:03 +0000 (22:03 +0000)
committerstronk7 <stronk7>
Mon, 2 Apr 2007 22:03:03 +0000 (22:03 +0000)
Merged from MOODLE_18_STABLE

admin/xmldb/actions/edit_table_save/edit_table_save.class.php

index a2afd3c218d635fda416e3aaf895e513d7df078d..e398b011c5484374dcc4f43d7f8983c4431f98f8 100644 (file)
@@ -107,7 +107,7 @@ class edit_table_save extends XMLDBAction {
                          "<a href=\"../index.php\">" . $this->str['administration'] . "</a> -> <a href=\"index.php\">XMLDB</a>");
             notice ('<p>' .implode(', ', $errors) . '</p>
                      <p>' . $temptable->readableInfo(),
-                     'index.php?action=edit_table&amp;table=' . $tableparam . '&amp;dir=' . str_replace($CFG->dirroot, '', urlencode($dirpath)));
+                     'index.php?action=edit_table&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
             die; /// re-die :-P
         }