fixed a php syntax error

This commit is contained in:
Loïc Chapeaux
2001-08-16 01:53:45 +00:00
parent b7dac7b6fc
commit 70fbd65cd9
2 changed files with 6 additions and 3 deletions

View File

@@ -5,13 +5,16 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-08-16 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_replace.php3, lines 74 & 171: fixed a php syntax error.
2001-08-15 Olivier M<>ller <om@omnis.ch>
* 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 <robbat2@orbis-terrarum.net>
* Bug #450374 - (RC4) + becomes space - patched in tbl_replace.php3

View File

@@ -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)) . "'";