From 30144caeb86317fd6c40545c0b2192a44ec835d1 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 6 Jun 2010 18:32:21 +0000 Subject: one of my previous merge from trunk was incomplete git-svn-id: http://piwigo.org/svn/branches/2.1@6477 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_comment.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_comment.inc.php b/include/functions_comment.inc.php index 2594a210b..9b7736219 100644 --- a/include/functions_comment.inc.php +++ b/include/functions_comment.inc.php @@ -158,7 +158,7 @@ INSERT INTO '.COMMENTS_TABLE.' VALUES ( "'.$comm['author'].'", '.$comm['author_id'].', - "'.pwg_db_real_escape_string($comm['content']).'", + "'.$comm['content'].'", NOW(), "'.($comment_action=='validate' ? 'true':'false').'", '.($comment_action=='validate' ? 'NOW()':'NULL').', -- cgit v1.2.3