Skip to content

Commit ff02906

Browse files
luizbillstimiwahalahti
authored andcommitted
fix wrong $headers initial value (#144)
1 parent d5520db commit ff02906

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/wplf-form-actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function wplf_send_email_copy( $return, $submission_id = null ) {
4444
$content .= wplf_email_copy_make_fields_key_value_list( $fields, $form->ID, $form->post_name );
4545

4646
// default pre-filtered values for email headers and attachments
47-
$headers = '';
47+
$headers = array();
4848
$attachments = array();
4949

5050
if ( isset( $form_meta['_wplf_email_copy_from'][0] ) ) {

0 commit comments

Comments
 (0)