bug 2660: check guest IP on insert_user_comment (same system as rate_picture)

git-svn-id: http://piwigo.org/svn/trunk@15983 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2012-06-24 01:24:55 +00:00
parent 3ecd123ef5
commit d39aaff5bc
3 changed files with 57 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ CREATE TABLE `piwigo_comments` (
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`author` varchar(255) default NULL,
`author_id` smallint(5) DEFAULT NULL,
`anonymous_id` varchar(45) NOT NULL,
`content` longtext,
`validated` enum('true','false') NOT NULL default 'false',
`validation_date` datetime default NULL,