I have had that happen before where I bought a ticket for someone and accidently put my name on the ticket. It wasn't discovered until they were at the aiport. Doh! But, luckily it was full fare so I got a credit.
Glad you ran across that item in their TOS
