]> git.joonet.de Git - adminer.git/commitdiff
Don't display relative functions with new item
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sun, 31 May 2009 20:13:16 +0000 (20:13 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Sun, 31 May 2009 20:13:16 +0000 (20:13 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@634 7c3ca157-0c34-0410-bff1-cbf682f78f5c

include/editing.inc.php

index 61bafca605e3a408034ab43c0bd7f1a33ac59598..936090458659220fae230d976acd1afc5cca3793 100644 (file)
@@ -25,7 +25,7 @@ function input($name, $field, $value, $separator = "</td><td>") { //! pass empty
                        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"]) && !isset($_GET["call"])) {
+                       if (!isset($_GET["clone"]) && !isset($_GET["call"]) && (isset($_GET["select"]) || where($_GET))) {
                                if (preg_match('~int|float|double|decimal~', $field["type"])) {
                                        $options = array("", "+", "-");
                                }