remove warning in a new row if a 'set' field is not selected
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-08-08 Steve Alberty <alberty@neptunlabs.de>
|
||||||
|
* tbl_replace.php3: remove warning in a new row if a 'set' field
|
||||||
|
is not selected
|
||||||
|
|
||||||
2001-08-07 Robin Johnson <robbat2@orbis-terrarum.net>
|
2001-08-07 Robin Johnson <robbat2@orbis-terrarum.net>
|
||||||
* user_details.php3, line 664: fixed '<?echo' to '<?php echo' for XML compatiblity
|
* user_details.php3, line 664: fixed '<?echo' to '<?php echo' for XML compatiblity
|
||||||
|
|
||||||
|
@@ -131,11 +131,15 @@ else {
|
|||||||
} else {
|
} else {
|
||||||
$f = "field_$key";
|
$f = "field_$key";
|
||||||
}
|
}
|
||||||
if (get_magic_quotes_gpc()) {
|
if (isset($$f)) {
|
||||||
$val = "'" . (($$f) ? implode(',', $$f) : '') . "'";
|
if (get_magic_quotes_gpc()) {
|
||||||
} else {
|
$val = "'" . (($$f) ? implode(',', $$f) : '') . "'";
|
||||||
$val = "'" . addslashes(($$f) ? implode(',', $$f) : '') . "'";
|
} else {
|
||||||
|
$val = "'" . addslashes(($$f) ? implode(',', $$f) : '') . "'";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
$val = "''";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (get_magic_quotes_gpc()) {
|
if (get_magic_quotes_gpc()) {
|
||||||
|
Reference in New Issue
Block a user