Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't mark bools as mandatory

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1237 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit e55cc87cd95b18520f05fd01e6c4e72d03479d15 1 parent b6a172e
jakubvrana authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 editor/include/adminer.inc.php
View
4 editor/include/adminer.inc.php
@@ -175,7 +175,7 @@ function selectColumnsPrint($select, $columns) {
}
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 @@ function messageQuery($query) {
}
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";
}
Please sign in to comment.
Something went wrong with that request. Please try again.