diff --git a/ChangeLog b/ChangeLog index ec6f677fc..59b0a8c50 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-01-14 Marc Delisle + * mult_submits.inc.php: bug 876805, dropping a field with the + multi-submit mechanism removes all internal relations of a table, + patch thanks to Joosep-Georg Järvemaa (j-georg) + 2004-01-13 Robin Johnson * Documentation.html: Slight update to what I've done diff --git a/mult_submits.inc.php b/mult_submits.inc.php index 992f3ef70..ab2de4e83 100644 --- a/mult_submits.inc.php +++ b/mult_submits.inc.php @@ -234,7 +234,7 @@ else if ($mult_btn == $strYes) { break; case 'drop_fld': - PMA_relationsCleanupTable($db, $table, $selected[$i]); + PMA_relationsCleanupColumn($db, $table, $selected[$i]); $sql_query .= (empty($sql_query) ? 'ALTER TABLE ' . PMA_backquote($table) : ',') . ' DROP ' . PMA_backquote(urldecode($selected[$i])) . (($i == $selected_cnt-1) ? ';' : '');