bug 454477

This commit is contained in:
Marc Delisle
2001-08-23 16:55:36 +00:00
parent 72c268d2a7
commit 79c7cd91e6
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-08-23 Marc Delisle <lem9@users.sourceforge.net>
* lib.inc.php3, bug 454477, added LIMIT 1 to delete only one instance
when records are the same
2001-08-23 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lib.inc.php3, display_table(): displays a space character if a field is
empty to ensure the cell format is used with NS.

View File

@@ -1192,7 +1192,7 @@ var errorMsg2 = '<?php echo(str_replace('\'', '\\\'', $GLOBALS['strNotValidNumbe
. '&goto=tbl_properties.php3';
$delete_url = 'sql.php3'
. '?' . $url_query
. '&sql_query=' . urlencode('DELETE FROM ' . backquote($table) . ' WHERE') . $uva_condition
. '&sql_query=' . urlencode('DELETE FROM ' . backquote($table) . ' WHERE') . $uva_condition . urlencode(' LIMIT 1')
. '&zero_rows=' . urlencode(htmlspecialchars($GLOBALS['strDeleted']))
. '&goto=' . urlencode($goto);