From: Jakub Vokoun Date: Wed, 21 Aug 2019 11:13:16 +0000 (+0200) Subject: MSSQL: use textarea in edit form for Memo type (#357) X-Git-Tag: v4.7.3~9 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=3d32470b874677854609948abc5d1d5b5630c87a;p=adminer.git MSSQL: use textarea in edit form for Memo type (#357) Signed-off-by: Jakub Vokoun --- diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index afefa93f..c8d98652 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -960,7 +960,7 @@ function input($field, $value, $function) { } } elseif (preg_match('~blob|bytea|raw|file~', $field["type"]) && ini_bool("file_uploads")) { echo ""; - } elseif (($text = preg_match('~text|lob~', $field["type"])) || preg_match("~\n~", $value)) { + } elseif (($text = preg_match('~text|lob|memo~i', $field["type"])) || preg_match("~\n~", $value)) { if ($text && $jush != "sqlite") { $attrs .= " cols='50' rows='12'"; } else {