aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-09-04 18:30:20 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-09-04 18:30:20 +0000
commitfec9073f3a21818fa3bcfe89f0a73e861a3ad229 (patch)
tree3d3191047cb59534c515551cac418c7d62c6955a /phpBB/includes/functions_display.php
parent52e42838d9925ab063571f927df3aa59ed296710 (diff)
downloadforums-fec9073f3a21818fa3bcfe89f0a73e861a3ad229.tar
forums-fec9073f3a21818fa3bcfe89f0a73e861a3ad229.tar.gz
forums-fec9073f3a21818fa3bcfe89f0a73e861a3ad229.tar.bz2
forums-fec9073f3a21818fa3bcfe89f0a73e861a3ad229.tar.xz
forums-fec9073f3a21818fa3bcfe89f0a73e861a3ad229.zip
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
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php3
1 files changed, 1 insertions, 2 deletions
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", '<br />', $attachment['comment'])));
- $comment = htmlspecialchars(str_replace("\\'", "'", $comment));
+ $comment = str_replace("\n", '<br />', $attachment['comment']);
$denied = FALSE;