From 70fbd65cd9ebc3cd70114dd144d0a11f36640223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Thu, 16 Aug 2001 01:53:45 +0000 Subject: [PATCH] fixed a php syntax error --- ChangeLog | 5 ++++- tbl_replace.php3 | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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)) . "'";