User was unable to insert values containing quotes.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-03-03 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* tbl_replace_fields.php3: Bugfix: User was unable to insert values
|
||||
containing quotes.
|
||||
|
||||
2003-03-03 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* badwords.txt: bug 692874: "date" is not a reserved word
|
||||
|
||||
|
@@ -122,11 +122,7 @@
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$val = "'" . str_replace('\\"', '"', $val) . "'";
|
||||
} else {
|
||||
$val = "'" . PMA_sqlAddslashes($val) . "'";
|
||||
}
|
||||
break;
|
||||
} // end switch
|
||||
|
||||
|
Reference in New Issue
Block a user