Empty function name for required fields
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1035 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
309f6813f1
commit
2f272b05e0
|
@ -283,7 +283,7 @@ ORDER BY ORDINAL_POSITION"); //! requires MySQL 5
|
||||||
}
|
}
|
||||||
|
|
||||||
function editFunctions($field) {
|
function editFunctions($field) {
|
||||||
$return = array($field["null"] || $field["auto_increment"] ? "" : "*");
|
$return = array("" => ($field["null"] || $field["auto_increment"] ? "" : "*"));
|
||||||
if (ereg('date|time', $field["type"])) {
|
if (ereg('date|time', $field["type"])) {
|
||||||
$return[] = "now";
|
$return[] = "now";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue