PHP 8 Process Email Templates issue

Dear All,

Since 12.2.0, if the template system reaches a variable that is empty, it will stop filling from that onward.

Process Email Templates  stops parsing when it encounters an empty value for a variable.

We have seen some situations where it leaves the empty value in place, and some where it stops parsing altogether.

Please suggest alternative.

Thanks,

Shreya