Ignore:
Timestamp:
Jun 14, 2013, 3:10:07 PM (11 years ago)
Author:
mistic100
Message:

fix loop redirect when no email configured

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/main.inc.php

    r21208 r23207  
    4242function contact_form_init()
    4343{
    44   global $conf, $template,  $pwg_loaded_plugins;
     44  global $conf, $template, $pwg_loaded_plugins;
    4545 
    4646  if (
     
    7979  }
    8080 
     81  $conf['ContactForm']['cf_ready'] = count(get_contact_emails());
     82 
    8183  $template->set_prefilter('tail', 'contact_form_footer_link');
    8284}
Note: See TracChangeset for help on using the changeset viewer.