fixed a php syntax error
This commit is contained in:
@@ -5,13 +5,16 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2001-08-15 Olivier M<>ller <om@omnis.ch>
|
||||||
* db_details.php3: feature request #451138: display # of tables, added
|
* db_details.php3: feature request #451138: display # of tables, added
|
||||||
$strTables variable to all lang files.
|
$strTables variable to all lang files.
|
||||||
* left.php3: added display of # of tables, for a better overview.
|
* left.php3: added display of # of tables, for a better overview.
|
||||||
* config.php3, lib.inc.php3, docs: feature request #451137: limiting size
|
* config.php3, lib.inc.php3, docs: feature request #451137: limiting size
|
||||||
of data printed in browse view (new cfg: $cfgLimitChars).
|
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>
|
2001-08-15 Robin Johnson <robbat2@orbis-terrarum.net>
|
||||||
* Bug #450374 - (RC4) + becomes space - patched in tbl_replace.php3
|
* Bug #450374 - (RC4) + becomes space - patched in tbl_replace.php3
|
||||||
|
@@ -71,7 +71,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) {
|
|||||||
$f = 'field_' . $key;
|
$f = 'field_' . $key;
|
||||||
}
|
}
|
||||||
if (!empty($$f)) {
|
if (!empty($$f)) {
|
||||||
if ($$f = 'null') {
|
if ($$f == 'null') {
|
||||||
// void
|
// void
|
||||||
} else if ($is_encoded) {
|
} else if ($is_encoded) {
|
||||||
$val = "'" . sql_addslashes(urldecode($$f)) . "'";
|
$val = "'" . sql_addslashes(urldecode($$f)) . "'";
|
||||||
@@ -168,7 +168,7 @@ else {
|
|||||||
$f = 'field_' . $key;
|
$f = 'field_' . $key;
|
||||||
}
|
}
|
||||||
if (!empty($$f)) {
|
if (!empty($$f)) {
|
||||||
if ($$f = 'null') {
|
if ($$f == 'null') {
|
||||||
// void
|
// void
|
||||||
} else if (get_magic_quotes_gpc()) {
|
} else if (get_magic_quotes_gpc()) {
|
||||||
$val = "'" . str_replace('\\"', '"', implode(',', $$f)) . "'";
|
$val = "'" . str_replace('\\"', '"', implode(',', $$f)) . "'";
|
||||||
|
Reference in New Issue
Block a user