Ignore:
Timestamp:
Jun 4, 2014, 1:13:05 PM (6 years ago)
Author:
mistic100
Message:

use trigger_change

File:
1 edited

Legend:

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

    r28458 r28628  
    233233
    234234  // perform more spam check
    235   $comment_action = trigger_event('contact_form_check', $comment_action, $comm);
     235  $comment_action = trigger_change('contact_form_check', $comment_action, $comm);
    236236
    237237  // get admin emails
     
    245245  if ($comment_action == 'validate')
    246246  {
    247     $comm['content'] = trigger_event('render_contact_content', $comm['content']);
     247    $comm['content'] = trigger_change('render_contact_content', $comm['content']);
    248248
    249249    $prefix = str_replace('%gallery_title%', $conf['gallery_title'], $conf['ContactForm']['cf_subject_prefix']);
Note: See TracChangeset for help on using the changeset viewer.