Skip to content

Commit 8bccce6

Browse files
Merge pull request #146 from ironland/patch-1
Update wplf-form-actions.php
2 parents a9db0b3 + a205ee6 commit 8bccce6

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
@@ -50,7 +50,7 @@ function wplf_send_email_copy( $return, $submission_id = null ) {
5050
if ( isset( $form_meta['_wplf_email_copy_from'][0] ) ) {
5151
$from = wplf_email_copy_replace_tags( $form_meta['_wplf_email_copy_from'][0], $form, $submission_id );
5252
$from_address = wplf_email_copy_replace_tags( $form_meta['_wplf_email_copy_from_address'][0], $form, $submission_id );
53-
$headers[] = "From: $from <$from_address>";
53+
$headers .= "From: $from <$from_address>";
5454
}
5555

5656
if ( isset( $form_meta['_wplf_email_copy_content'] ) ) {

0 commit comments

Comments
 (0)