Changeset 7059

Show
Ignore:
Timestamp:
10/01/10 14:36:24 (3 years ago)
Author:
plg
Message:

bug 1895 fixed: use a default list of target emails when no manual selection available

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/classes/cf_plugin.class.php

    r6547 r7059  
    324324      } 
    325325    } 
     326 
     327    if (empty($all_mails)) { 
     328      $webmaster_email = get_webmaster_mail_address(); 
     329      $active = array( 
     330        'WEBMASTER' => $webmaster_email, 
     331        'ADMINS' => cf_get_admins_emails($webmaster_email), 
     332        ); 
     333    } 
     334     
    326335    return $active; 
    327336  }