Don't mark bools as mandatory
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1237 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
b6a172ebeb
commit
e55cc87cd9
|
@ -175,7 +175,7 @@ ORDER BY ORDINAL_POSITION");
|
|||
}
|
||||
|
||||
function selectSearchPrint($where, $columns, $indexes) {
|
||||
//! from-to, foreign keys
|
||||
//! foreign keys
|
||||
echo '<fieldset><legend>' . lang('Search') . "</legend><div>\n";
|
||||
$i = 0;
|
||||
foreach ((array) $_GET["where"] as $val) {
|
||||
|
@ -362,7 +362,7 @@ ORDER BY ORDINAL_POSITION");
|
|||
}
|
||||
|
||||
function editFunctions($field) {
|
||||
$return = array("" => ($field["null"] || $field["auto_increment"] ? "" : "*"));
|
||||
$return = array("" => ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*"));
|
||||
if (ereg('date|time', $field["type"])) {
|
||||
$return[] = "now";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue