Ignore:
Timestamp:
May 13, 2014, 7:46:37 PM (10 years ago)
Author:
mistic100
Message:

fix unused content type, send copy as Bcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/contact_form.inc.php

    r27846 r28458  
    1717{
    1818  $contact = array(
    19     'author' =>  trim($_POST['author']),
    20     'email' =>   trim($_POST['email']),
     19    'author' =>  stripslashes(trim($_POST['author'])),
     20    'email' =>   stripslashes(trim($_POST['email'])),
    2121    'group' =>   @$_POST['group'],
    22     'subject' => trim($_POST['subject']),
    23     'content' => $_POST['content'],
     22    'subject' => stripslashes(trim($_POST['subject'])),
     23    'content' => stripslashes($_POST['content']),
    2424    'send_copy' => isset($_POST['send_copy']),
    2525   );
Note: See TracChangeset for help on using the changeset viewer.