mirror of
https://github.com/vrana/adminer.git
synced 2026-02-27 17:11:22 +01:00
File upload error
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@123 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -34,6 +34,9 @@ if ($_POST) {
|
||||
foreach ($params as $key => $field) {
|
||||
if (in_array($key, $in)) {
|
||||
$val = process_input($key, $field);
|
||||
if ($val === false) {
|
||||
$val = "''";
|
||||
}
|
||||
if (isset($out[$key])) {
|
||||
$mysql->query("SET @" . idf_escape($field["field"]) . " = " . $val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user