Changeset 6590 for branches/2.1/include
- Timestamp:
- Jun 23, 2010, 8:17:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/include/functions_comment.inc.php
r6477 r6590 157 157 (author, author_id, content, date, validated, validation_date, image_id) 158 158 VALUES ( 159 "'.$comm['author'].'",159 \''.$comm['author'].'\', 160 160 '.$comm['author_id'].', 161 "'.$comm['content'].'",161 \''.$comm['content'].'\', 162 162 NOW(), 163 "'.($comment_action=='validate' ? 'true':'false').'",163 \''.($comment_action=='validate' ? 'true':'false').'\', 164 164 '.($comment_action=='validate' ? 'NOW()':'NULL').', 165 165 '.$comm['image_id'].' … … 353 353 $query = ' 354 354 UPDATE '.COMMENTS_TABLE.' 355 SET validated = "true"355 SET validated = \'true\' 356 356 , validation_date = NOW() 357 357 WHERE id = '.$comment_id.'
Note: See TracChangeset
for help on using the changeset viewer.