Actually that scene was in Legally Blonde, not Liar Liar(:
You're right. I stand corrected. "Legally Blonde" was the movie with the guy revealed to be gay because he knew about women shoe styles. And the funny thing is the movie was ABSOLUTELY correct in this assertion. NO straight guy knows the slightest thing about women's shoes.