Changeset 4305


Ignore:
Timestamp:
11/18/09 22:14:58 (10 years ago)
Author:
Eric
Message:

Forgotten Comments author name to be escaped and correctly displayed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_comment.inc.php

    r4304 r4305  
    157157  (author, author_id, content, date, validated, validation_date, image_id) 
    158158  VALUES ( 
    159     "'.$comm['author'].'", 
     159    "'.addslashes($comm['author']).'", 
    160160    '.$comm['author_id'].', 
    161     "'.$comm['content'].'", 
     161    "'.addslashes($comm['content']).'", 
    162162    NOW(), 
    163163    "'.($comment_action=='validate' ? 'true':'false').'", 
Note: See TracChangeset for help on using the changeset viewer.