I need to know whether the sentence given below correct?
Have something to eat, if you didn't have it earlier.
You should replace "it" with "anything"
Have something to eat, if you didn't have anything earlier.