mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-07 01:12:25 +01:00
Bug 1705 fixed : User cannot add comment with double quotes
Merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6424 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
1 parent
3826af3ba4
commit
bc12301421
1 file changed
+1
-1
@@ -158,7 +158,7 @@ INSERT INTO '.COMMENTS_TABLE.'
|
||||
VALUES (
|
||||
"'.$comm['author'].'",
|
||||
'.$comm['author_id'].',
|
||||
"'.$comm['content'].'",
|
||||
"'.pwg_db_real_escape_string($comm['content']).'",
|
||||
NOW(),
|
||||
"'.($comment_action=='validate' ? 'true':'false').'",
|
||||
'.($comment_action=='validate' ? 'NOW()':'NULL').',
|
||||
|
||||
Reference in new issue
Block a user