diff --git a/ChangeLog b/ChangeLog index 22c2ddd11..db8c96f15 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,13 +5,16 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-08-16 Loïc Chapeaux + * tbl_replace.php3, lines 74 & 171: fixed a php syntax error. + 2001-08-15 Olivier Müller * db_details.php3: feature request #451138: display # of tables, added $strTables variable to all lang files. * left.php3: added display of # of tables, for a better overview. * config.php3, lib.inc.php3, docs: feature request #451137: limiting size of data printed in browse view (new cfg: $cfgLimitChars). - * tbl_properties.php3: added select/insert/empty to the top of the page + * tbl_properties.php3: added select/insert/empty to the top of the page. 2001-08-15 Robin Johnson * Bug #450374 - (RC4) + becomes space - patched in tbl_replace.php3 diff --git a/tbl_replace.php3 b/tbl_replace.php3 index 195d19969..fd689ea40 100755 --- a/tbl_replace.php3 +++ b/tbl_replace.php3 @@ -71,7 +71,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) { $f = 'field_' . $key; } if (!empty($$f)) { - if ($$f = 'null') { + if ($$f == 'null') { // void } else if ($is_encoded) { $val = "'" . sql_addslashes(urldecode($$f)) . "'"; @@ -168,7 +168,7 @@ else { $f = 'field_' . $key; } if (!empty($$f)) { - if ($$f = 'null') { + if ($$f == 'null') { // void } else if (get_magic_quotes_gpc()) { $val = "'" . str_replace('\\"', '"', implode(',', $$f)) . "'";