| @@ -41,8 +41,10 @@ | ||
| 41 | 41 | public $no_ips; |
| 42 | 42 | public $custom_header_ip; |
| 43 | 43 | public $current_form = 0; |
| 44 | 44 | public $tracking; |
| 45 | + public $summary_emails; | |
| 46 | + public $summary_emails_recipients; | |
| 45 | 47 | |
| 46 | 48 | public $currency; |
| 47 | 49 | |
| 48 | 50 | /** |
| @@ -127,8 +129,10 @@ | ||
| 127 | 129 | 'email_to' => '[admin_email]', |
| 128 | 130 | 'no_ips' => 0, |
| 129 | 131 | 'custom_header_ip' => false, // Use false by default. We show a warning when this is unset. Once global settings have been saved, this gets saved |
| 130 | 132 | 'tracking' => FrmAppHelper::pro_is_installed(), |
| 133 | + 'summary_emails' => 1, | |
| 134 | + 'summary_emails_recipients' => '[admin_email]', | |
| 131 | 135 | |
| 132 | 136 | // Normally custom CSS is a string. A false value is used when nothing has been set. |
| 133 | 137 | // When it is false, we try to use the old custom_key value from the default style's post_content array. |
| 134 | 138 | 'custom_css' => false, |
| @@ -356,9 +360,9 @@ | ||
| 356 | 360 | $this->load_style = $params['frm_load_style']; |
| 357 | 361 | $this->custom_css = $params['frm_custom_css']; |
| 358 | 362 | $this->currency = $params['frm_currency']; |
| 359 | 363 | |
| 360 | - $checkboxes = array( 'mu_menu', 're_multi', 'use_html', 'jquery_css', 'accordion_js', 'fade_form', 'no_ips', 'custom_header_ip', 'tracking', 'admin_bar' ); | |
| 364 | + $checkboxes = array( 'mu_menu', 're_multi', 'use_html', 'jquery_css', 'accordion_js', 'fade_form', 'no_ips', 'custom_header_ip', 'tracking', 'admin_bar', 'summary_emails' ); | |
| 361 | 365 | foreach ( $checkboxes as $set ) { |
| 362 | 366 | $this->$set = isset( $params[ 'frm_' . $set ] ) ? absint( $params[ 'frm_' . $set ] ) : 0; |
| 363 | 367 | } |
| 364 | 368 | } |