It hadn't even entered my head to be honest, but a friend of mine has just said she always buys a present even if her children can't attend. This is a friend from their nursery, not a close friend.
BTW this child did come to their party and obviously brought a present.