bug 520242

This commit is contained in:
Marc Delisle
2002-02-23 16:20:15 +00:00
parent 2ae2cc9b15
commit 0525e60d2e
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-02-23 Marc Delisle <lem9@users.sourceforge.net>
* tbl_replace.php3, bug 520242, records get inserted twice
2002-02-22 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_addfield.php3, lines 34-44; tbl_create.php3, lines 40-50: fixed php
warnings (see bug #521751).

View File

@@ -8,7 +8,6 @@
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
/**
* Initializes some variables
*/
@@ -30,7 +29,8 @@ if (isset($after_insert) && $after_insert == 'new_insert') {
. '&repeat_cells=' . $repeat_cells
. (empty($sql_query) ? '' : '&sql_query=' . urlencode($sql_query));
} else if ($goto == 'sql.php3'
|| ($goto == 'tbl_properties.php3' && !empty($sql_query))) {
|| ($goto == 'tbl_properties.php3'
&& eregi('^SELECT[[:space:]]+', $sql_query))) {
$goto = 'sql.php3?'
. 'lang=' . $lang
. '&server=' . $server