From 3fbc92f61e1cf362982d3e9697bf5261868cbb2c Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 7 Jun 2007 18:50:25 +0000 Subject: Resolved issue 0000702: Code Injection with picture comment git-svn-id: http://piwigo.org/svn/trunk@2030 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/comments.php') diff --git a/admin/comments.php b/admin/comments.php index 6bba32a96..bae32dcb3 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -162,7 +162,7 @@ while ($row = mysql_fetch_assoc($result)) '&image_id='.$row['image_id'], 'ID' => $row['id'], 'TN_SRC' => $thumb, - 'AUTHOR' => $row['author'], + 'AUTHOR' => trigger_event('render_comment_author', $row['author']), 'DATE' => format_date($row['date'],'mysql_datetime',true), 'CONTENT' => trigger_event('render_comment_content',$row['content']) ) -- cgit v1.2.3