mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Shorten displayed SQL query
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@689 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -253,7 +253,7 @@ if (!$columns) {
|
||||
if (!strlen(trim($val))) {
|
||||
$val = " ";
|
||||
} elseif (intval($text_length) > 0 && preg_match('~blob|text~', $fields[$key]["type"])) {
|
||||
$val = shorten_utf8($val, intval($text_length));
|
||||
$val = nl2br(shorten_utf8($val, intval($text_length)));
|
||||
} else {
|
||||
$val = nl2br(htmlspecialchars($val));
|
||||
if ($fields[$key]["type"] == "char") {
|
||||
|
Reference in New Issue
Block a user