Food questions!

Crescent
Is it safe to eat onions that were sauteed with a steak the night before? I put them in the fridge right when I got home. I read some where that for humans in general isn't healthy to eat them and it can grow some type of bacteria. Help!?