Fixed error in registration form mail sending

Sending a mail with an attached ticket when registrant notification is off