Is this a feature or a bug?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
He had edited his own question, so I would think that is where his badge is coming from. It looks like the system simply didn't pick up that edit before and give him the badge.
Not picking up the old edit and giving him the badge sounds like a bug to me.