Permalink
Browse files

Empty function name for required fields

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1035 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
jakubvrana
jakubvrana committed Aug 28, 2009
1 parent 309f681 commit 2f272b05e07b285ddee5840c325f779e548dfcb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 editor/include/adminer.inc.php
@@ -283,7 +283,7 @@ function messageQuery($query) {
}
function editFunctions($field) {
- $return = array($field["null"] || $field["auto_increment"] ? "" : "*");
+ $return = array("" => ($field["null"] || $field["auto_increment"] ? "" : "*"));
if (ereg('date|time', $field["type"])) {
$return[] = "now";
}

0 comments on commit 2f272b0

Please sign in to comment.