Changeset 4305 for trunk/include


Ignore:
Timestamp:
Nov 18, 2009, 10:14:58 PM (15 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.