From 3d32470b874677854609948abc5d1d5b5630c87a Mon Sep 17 00:00:00 2001 From: Jakub Vokoun Date: Wed, 21 Aug 2019 13:13:16 +0200 Subject: [PATCH] MSSQL: use textarea in edit form for Memo type (#357) Signed-off-by: Jakub Vokoun --- adminer/include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {