1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 02:23:59 +02:00
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@772 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-01 01:24:52 +00:00
parent 11b90ac82c
commit c361d7a461

View File

@@ -23,7 +23,7 @@ function input($name, $field, $value) {
$options = array("");
if (!isset($_GET["default"])) {
if (preg_match('~char|date|time~', $field["type"])) {
$options = (preg_match('~char~', $field["type"]) ? array("", "md5", "sha1", "password", "uuid") : array("", "now"));
$options = (preg_match('~char~', $field["type"]) ? array("", "md5", "sha1", "password", "uuid") : array("", "now")); //! JavaScript for disabling maxlength
}
if (!isset($_GET["call"]) && (isset($_GET["select"]) || where($_GET))) {
// relative functions