If he's been eating it in the past and is alright now, then that's probably your answer.

If it's a big worry, try just not leaving it out that long - try only an hour or so instead. Maybe after a week or two of not having the option to wait overnight, he'll be hungry enough to eat it when it is first offered.

-Jen