From ba1c817d23dece6fa41c8161fbd4490e653ea4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sun, 11 May 2003 18:56:21 +0000 Subject: [PATCH] Remember state of insert as another row - fixes #736064, show used query. --- tbl_change.php3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tbl_change.php3 b/tbl_change.php3 index 23d61c088..d5c744b58 100755 --- a/tbl_change.php3 +++ b/tbl_change.php3 @@ -15,7 +15,7 @@ require('./libraries/relation.lib.php3'); // foreign keys /** * Displays the query submitted and its result */ -if (!empty($message)) { +if (!empty($disp_message)) { if (isset($goto)) { $goto_cpy = $goto; $goto = 'tbl_properties.php3?' @@ -32,7 +32,7 @@ if (!empty($message)) { if (isset($disp_query)) { $sql_query = $disp_query; } - PMA_showMessage($message); + PMA_showMessage($disp_message); if (isset($goto_cpy)) { $goto = $goto_cpy; unset($goto_cpy); @@ -705,7 +705,7 @@ echo "\n"; // Defines whether "insert a new row after the current insert" should be // checked or not (keep this choice sticky) -$checked = (!empty($message)) ? ' checked="checked"' : ''; +$checked = !empty($disp_message) ? ' checked="checked"' : ''; ?>