Remember state of insert as another row - fixes #736064, show used query.

This commit is contained in:
Michal Čihař
2003-05-11 18:56:21 +00:00
parent ec3211e889
commit ba1c817d23

View File

@@ -15,7 +15,7 @@ require('./libraries/relation.lib.php3'); // foreign keys
/** /**
* Displays the query submitted and its result * Displays the query submitted and its result
*/ */
if (!empty($message)) { if (!empty($disp_message)) {
if (isset($goto)) { if (isset($goto)) {
$goto_cpy = $goto; $goto_cpy = $goto;
$goto = 'tbl_properties.php3?' $goto = 'tbl_properties.php3?'
@@ -32,7 +32,7 @@ if (!empty($message)) {
if (isset($disp_query)) { if (isset($disp_query)) {
$sql_query = $disp_query; $sql_query = $disp_query;
} }
PMA_showMessage($message); PMA_showMessage($disp_message);
if (isset($goto_cpy)) { if (isset($goto_cpy)) {
$goto = $goto_cpy; $goto = $goto_cpy;
unset($goto_cpy); unset($goto_cpy);
@@ -705,7 +705,7 @@ echo "\n";
// Defines whether "insert a new row after the current insert" should be // Defines whether "insert a new row after the current insert" should be
// checked or not (keep this choice sticky) // checked or not (keep this choice sticky)
$checked = (!empty($message)) ? ' checked="checked"' : ''; $checked = !empty($disp_message) ? ' checked="checked"' : '';
?> ?>
</td> </td>
<td valign="middle"> <td valign="middle">