From 17fc1bf7efa71d742f792bd8b694d8332aca279d Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 3 Mar 2009 11:26:04 +0000 Subject: [PATCH] Disable +- operators in procedure call git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@560 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- editing.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editing.inc.php b/editing.inc.php index 58bec4ae..2e10d02b 100644 --- a/editing.inc.php +++ b/editing.inc.php @@ -26,7 +26,7 @@ function input($name, $field, $value) { if (preg_match('~char|date|time~', $field["type"])) { $options = (preg_match('~char~', $field["type"]) ? array("", "md5", "sha1", "password", "uuid") : array("", "now")); } - if (!isset($_GET["clone"]) && preg_match('~int|float|double|decimal~', $field["type"])) { + if (!isset($_GET["clone"]) && !isset($_GET["call"]) && preg_match('~int|float|double|decimal~', $field["type"])) { $options = array("", "+", "-"); } }