]> git.joonet.de Git - adminer.git/commitdiff
File upload error
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 11 Jul 2007 11:04:18 +0000 (11:04 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 11 Jul 2007 11:04:18 +0000 (11:04 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@123 7c3ca157-0c34-0410-bff1-cbf682f78f5c

call.inc.php

index 6c620dfc39e5a2b3a895447aa8ce81fe9cb43e06..9ff82a5f4b8dfc2eb3db3699e5dd0777386f1ac9 100644 (file)
@@ -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);
                        }