* tbl_replace.php3: fixed the fact that the function were

ignored if the data remained unchanged.
This commit is contained in:
Olivier Müller
2001-08-27 22:04:08 +00:00
parent 5816507721
commit 5d02608b60
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-08-27 Olivier M<>ller <om@omnis.ch>
* tbl_replace.php3: fixed the fact that the function were
ignored if the data remained unchanged.
2001-08-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lib.inc.php3: fixed some coding style inconcistencies.
* lib.inc.php3, lines -; config.inc.php3, lines 106-110;

View File

@@ -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;
}