When she was rushed to the emergency room for an on-set injury, it was Salma Hayek's choice of wardrobe that really caught people's attention.

The 49-year-old actress, who is currently filming Drunk Parents, took to Instagram to tell fans about her "minor head injury," and to reveal the laugh-out-loud shirt she sported during the hospital visit.

"I had to be rushed from set to the ER for a minor head injury," she wrote on Instagram. "Unfortunately my wardrobe for the scene was completely inappropriate for the hospital."

RELATED: Salma Hayek Flaunts Massive Cleavage in a Very Revealing Dress

View this post on Instagram

I had to be rushed from set to the ER for a minor head injury. Unfortunately my wardrobe for the scene was completely inappropriate for the hospital. Thank you to doctors Foster and Ellspermann for taking such good care of me! And don't worry it didn't make me any crazier than I was! #hospital #emergency #doctors #nude #wardrobe Me tuvieron que llevar a emergencias por un golpe en la cabeza. Desgraciadamente el vestuario de la escena era completamente inapropiado para el hospital. Gracias a doctores Foster y Ellspermann por sus atenciones. Y no se preocupen que quede igual de loca que antes! #emergencia #doctores #desnuda #vestuario

A post shared by Salma Hayek Pinault (@salmahayek) on

"Thank you to doctors Foster and Ellspermann for taking such good care of me," the star continued. "And don't worry it didn't make me any crazier than I was!"

The brunette actress seems to be in good spirits, and is recovering from her injury. And certainly brought the doctors and staff quite a laugh.