Contact Form Email - Version 1.3.01

Version Description

  • Fixed bug in global email reports
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Contact Form Email
Version 1.3.01
Comparing to
See all releases

Code changes from version 1.2.99 to 1.3.01

Files changed (3) hide show
  1. README.txt +5 -2
  2. cp-main-class.inc.php +1 -1
  3. form-to-email.php +1 -1
README.txt CHANGED
@@ -456,6 +456,9 @@ When you click a field already added into the contact form builder area, you can
456
 
457
  == Changelog ==
458
 
 
 
 
459
  = 1.2.99 =
460
  * Fixed bug in email subject
461
 
@@ -1057,5 +1060,5 @@ When you click a field already added into the contact form builder area, you can
1057
 
1058
  == Upgrade Notice ==
1059
 
1060
- = 1.2.99 =
1061
- * Fixed bug in email subject
456
 
457
  == Changelog ==
458
 
459
+ = 1.3.01 =
460
+ * Fixed bug in global email reports
461
+
462
  = 1.2.99 =
463
  * Fixed bug in email subject
464
 
1060
 
1061
  == Upgrade Notice ==
1062
 
1063
+ = 1.3.01 =
1064
+ * Fixed bug in global email reports
cp-main-class.inc.php CHANGED
@@ -1330,7 +1330,7 @@ class CP_ContactFormToEmail extends CP_CFTEMAIL_BaseClass {
1330
  {
1331
  update_option('cp_cfte_last_sent'.$formid, date("Y-m-d ".(get_option('cp_cfte_rep_hour', '')<'10'?'0':'').get_option('cp_cfte_rep_hour', '').":00:00"));
1332
  $text = '';
1333
- $forms = $wpdb->get_results("SELECT id,fp_from_email,form_name,rep_days,rep_hour,rep_emails,rep_subject,rep_emailformat,rep_message,rep_enable FROM ".$wpdb->prefix.$this->table_items." WHERE rep_emails<>'' AND rep_enable='yes'");
1334
  $attachments = array();
1335
  foreach ($forms as $form) // for each form with the reports enabled
1336
  {
1330
  {
1331
  update_option('cp_cfte_last_sent'.$formid, date("Y-m-d ".(get_option('cp_cfte_rep_hour', '')<'10'?'0':'').get_option('cp_cfte_rep_hour', '').":00:00"));
1332
  $text = '';
1333
+ $forms = $wpdb->get_results("SELECT id,fp_from_email,form_name,rep_days,rep_hour,rep_emails,rep_subject,rep_emailformat,rep_message,rep_enable FROM ".$wpdb->prefix.$this->table_items); // " WHERE rep_emails<>'' AND rep_enable='yes'"
1334
  $attachments = array();
1335
  foreach ($forms as $form) // for each form with the reports enabled
1336
  {
form-to-email.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
- Version: 1.2.99
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email
3
  Plugin Name: Contact Form Email
4
  Plugin URI: https://form2email.dwbooster.com/download
5
  Description: Contact form that sends the data to email and also to a database list and CSV file.
6
+ Version: 1.3.01
7
  Author: CodePeople
8
  Author URI: https://form2email.dwbooster.com
9
  Text Domain: contact-form-to-email