Permalink
Browse files

Don't display relative functions with new item

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@634 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent 86a9351 commit 891ed95f6d9b55261fb0edc6c464cb22317076f8 jakubvrana committed May 31, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/editing.inc.php
View
@@ -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("", "+", "-");
}

0 comments on commit 891ed95

Please sign in to comment.