Hey there, @draeke! 👋
We’ve just tried ourselves, and we’ve found a sneaky bug that’s quite surely the cause of your issues — sorry for that!
We’ll make sure to include a fix for this in the upcoming release, which is just a few days away. If you’re in a hurry though, let us know and we’ll share a few changes you can apply yourself to get things working again.
Let us know!
Thread Starter
draeke
(@draeke)
Hey
thanks for answer me. Iam very interested in these fix and would try it by myselfe, if you share these changes with me
Sounds good!
Here’s the patch:
1. Open the /wp-content/plugins/happyforms/inc/templates/email-user.php file.
2. Change this line:
<?php if ( happyforms_email_is_part_visible( $part, $form, $response ) ) : ?>
to this:
<?php if ( happyforms_email_is_part_visible( $part, $form, $message ) ) : ?>
3. Change this line:
<b><?php echo happyforms_get_email_part_label( $response, $part, $form ); ?></b><br>
to this:
<b><?php echo happyforms_get_email_part_label( $message, $part, $form ); ?></b><br>
That should hopefully bring things back in line.
Let us know how it goes!
Glad to hear that! 👏
Just so you know, we’ve just released an update, which includes the above fix. You can safely update. 🙂