Remember state of insert as another row - fixes #736064, show used query.
This commit is contained in:
@@ -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">
|
||||||
|
Reference in New Issue
Block a user