Undefined $line and $value when sending offline email receipt
Looks like some code was moved around and these vars don't make sense out of loop context: https://github.com/civicrm/civicrm-core/blob/effdba1ef120ca88b270606a0e28db5304e3e621/CRM/Event/Form/Participant.php#L1353