mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +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:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user