From fec9073f3a21818fa3bcfe89f0a73e861a3ad229 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 4 Sep 2003 18:30:20 +0000 Subject: initial draft functionality, loading (and a bunch of other stuff) is not implemented yet + bugfixes. git-svn-id: file:///svn/phpbb/trunk@4467 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_display.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'phpBB/includes/functions_display.php') diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index cc3010f03d..9c6d0fd844 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -323,8 +323,7 @@ function display_attachments($attachment_data, &$update_count, $force_physical = $filesize = ($filesize >= 1048576) ? round((round($filesize / 1048576 * 100) / 100), 2) : (($filesize >= 1024) ? round((round($filesize / 1024 * 100) / 100), 2) : $filesize); $display_name = $attachment['real_filename']; - $comment = stripslashes(trim(str_replace("\n", '
', $attachment['comment']))); - $comment = htmlspecialchars(str_replace("\\'", "'", $comment)); + $comment = str_replace("\n", '
', $attachment['comment']); $denied = FALSE; -- cgit v1.2.1