diff --git a/ChangeLog b/ChangeLog index f2dc050a1..ad9951637 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-08-27 Olivier Müller + * tbl_replace.php3: fixed the fact that the function were + ignored if the data remained unchanged. + 2001-08-27 Loïc Chapeaux * lib.inc.php3: fixed some coding style inconcistencies. * lib.inc.php3, lines -; config.inc.php3, lines 106-110; diff --git a/tbl_replace.php3 b/tbl_replace.php3 index 695502454..25dfb15b6 100755 --- a/tbl_replace.php3 +++ b/tbl_replace.php3 @@ -115,7 +115,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) { } // end switch // No change for this column -> next column - if (isset($fields_prev) && isset($fields_prev[urlencode($key)]) + if (isset($fields_prev) && isset($fields_prev[urlencode($key)]) && !empty($funcs[$key]) && ("'" . sql_addslashes(urldecode($fields_prev[urlencode($key)])) . "'" == $val)) { continue; }