Changeset 7059


Ignore:
Timestamp:
Oct 1, 2010, 2:36:24 PM (10 years ago)
Author:
plg
Message:

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

File:
1 edited

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  }
Note: See TracChangeset for help on using the changeset viewer.