From: jakubvrana Date: Wed, 11 Jul 2007 11:04:18 +0000 (+0000) Subject: File upload error X-Git-Tag: v3.0.0~1383 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=2d8002b7d07792711337a4b1496a60b8c5dacaa0;p=adminer.git File upload error git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@123 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- diff --git a/call.inc.php b/call.inc.php index 6c620dfc..9ff82a5f 100644 --- a/call.inc.php +++ b/call.inc.php @@ -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); }