1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

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:
jakubvrana
2009-11-11 22:56:20 +00:00
parent b6a172ebeb
commit e55cc87cd9

View File

@@ -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";
}