It might be an "oops" from a single programmer, but I thought a high-profile site like this would at least go through some basic code review. The bug isn't that subtle, either.
I love the (distressingly common) attitude that the only code exempt from review is the layer that interacts with the user, which can completely obscure or invalidate the correct functioning of all the other layers.