That's pretty amazing considering that the behaviour that causes the bug is not something unusual or rare.
It looks like Apple meant to have the setting revert, so that guest logins had to be reenabled. Instead, you let your friend login to the (still-enabled) guest account and then...
If true, that would explain why is wasn't caught sooner. If true, you could test the final build of Snow Leopard all day (and the upgrade path from Leopard) and not catch it.