aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upload.php b/upload.php
index f5ae78721..036ddc9e7 100644
--- a/upload.php
+++ b/upload.php
@@ -360,10 +360,10 @@ else
$template->assign(
array(
'ADVISE_TITLE' => $advise_title,
- 'NAME' => $username,
+ 'NAME' => stripslashes($username),
'EMAIL' => $mail_address,
'NAME_IMG' => $name,
- 'AUTHOR_IMG' => $author,
+ 'AUTHOR_IMG' => stripslashes($author),
'DATE_IMG' => $date_creation,
'COMMENT_IMG' => $comment,