Until recently, the correct email was being sent out when someone registered. Recently (I don't know exactly when since I don't get a copy of them), the wrong one started going out. I can't figure out why.
The email template being sent is Events - Registration Confirmation and Receipt (on-line).
It used to be that the text under this was sent out if you registered:
{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}
Now instead of it sending out that, it's sending out what is under the else that is under that.
What could have caused this? The events do not have a waitlist, nor do they require approval. Occasionally we do have ones that do have either/both of those, but none of the current events do.
Thanks!
EDIT: Sorry, forgot to add that this is CiviCRM 4.7.22 and Drupal. I don't know of any PHP updates, but those things sometimes happen via the hosting company without our knowledge. The last CiviCRM updates should have been done prior to the last time I tested the email process a couple weeks back or so.