From 193caa7f5bb20eb5d777e74e5c767a7baa5b5be9 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Mon, 25 Jan 2010 16:11:20 +0000 Subject: [PATCH] MDL-21438 xmldb editor - add missing sesskey to the save option --- admin/xmldb/actions/edit_table/edit_table.class.php | 2 +- admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/xmldb/actions/edit_table/edit_table.class.php b/admin/xmldb/actions/edit_table/edit_table.class.php index b8b715999d5..70b87d9a0d4 100644 --- a/admin/xmldb/actions/edit_table/edit_table.class.php +++ b/admin/xmldb/actions/edit_table/edit_table.class.php @@ -177,7 +177,7 @@ class edit_table extends XMLDBAction { $b .= ' [' . $this->str['viewphpcode'] . ']'; /// The save button (if possible) if ($cansavenow) { - $b .= ' [' . $this->str['save'] . ']'; + $b .= ' [' . $this->str['save'] . ']'; } /// The back to edit xml file button $b .= ' [' . $this->str['back'] . ']'; diff --git a/admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php b/admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php index e5abbba088f..3326fd7a882 100644 --- a/admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php +++ b/admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php @@ -166,7 +166,7 @@ class edit_xml_file extends XMLDBAction { $b .= ' [' . $this->str['viewphpcode'] . ']'; /// The save button (if possible) if ($cansavenow) { - $b .= ' [' . $this->str['save'] . ']'; + $b .= ' [' . $this->str['save'] . ']'; } /// The back to main menu button