mirror of
https://github.com/vrana/adminer.git
synced 2026-07-07 15:52:10 +02:00
nl2br
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@57 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -93,7 +93,7 @@ if (!mysql_num_rows($result)) {
|
||||
if (!isset($val)) {
|
||||
$val = "<i>NULL</i>";
|
||||
} else {
|
||||
$val = (strlen(trim($val)) ? htmlspecialchars($val) : " ");
|
||||
$val = (strlen(trim($val)) ? nl2br(htmlspecialchars($val)) : " ");
|
||||
foreach ((array) $foreign_keys[$key] as $foreign_key) {
|
||||
if (count($foreign_keys[$key]) == 1 || count($foreign_key[2]) == 1) {
|
||||
$val = '">' . "$val</a>";
|
||||
|
||||
Reference in New Issue
Block a user