mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03:00
Rollback to preview commit
git-svn-id: http://piwigo.org/svn/trunk@4306 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
41fe69917c
commit
c020cd0d7c
1 changed files with 2 additions and 2 deletions
|
@ -156,9 +156,9 @@ SELECT id FROM '.COMMENTS_TABLE.'
|
|||
INSERT INTO '.COMMENTS_TABLE.'
|
||||
(author, author_id, content, date, validated, validation_date, image_id)
|
||||
VALUES (
|
||||
"'.addslashes($comm['author']).'",
|
||||
"'.$comm['author'].'",
|
||||
'.$comm['author_id'].',
|
||||
"'.addslashes($comm['content']).'",
|
||||
"'.$comm['content'].'",
|
||||
NOW(),
|
||||
"'.($comment_action=='validate' ? 'true':'false').'",
|
||||
'.($comment_action=='validate' ? 'NOW()':'NULL').',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue