From 91b9c630c33011834de24edf66cf27cccdd1ceca Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Sun, 15 Jul 2012 15:55:39 +0100 Subject: [PATCH] Fixed bug #3544366 - Event comments not saved --- ChangeLog | 1 + libraries/rte/rte_events.lib.php | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5d67bba906..ce2004c8b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog - bug #3534979 [interface] Copy Database Ajax feedback vanishes long before copying is done - bug #3527531 [interface] GC-maxlifetime warning incorrectly displayed - bug #3526916 [interface] Search fails with JS error when tooltips disabled +- bug #3544366 [interface] Event comments not saved 3.5.2.0 (2012-07-07) - bug #3521416 [interface] JS error when editing index diff --git a/libraries/rte/rte_events.lib.php b/libraries/rte/rte_events.lib.php index 88109fdaa8..c8619a0000 100644 --- a/libraries/rte/rte_events.lib.php +++ b/libraries/rte/rte_events.lib.php @@ -565,6 +565,11 @@ function PMA_EVN_getQueryFromRequest() } } } + if (! empty($_REQUEST['item_comment'])) { + $query .= "COMMENT '" . $common_functions->sqlAddslashes( + $_REQUEST['item_comment'] + ) . "' "; + } $query .= 'DO '; if (! empty($_REQUEST['item_definition'])) { $query .= $_REQUEST['item_definition'];