The church never taught that the world was flat. The center of the universe, yes,(with qualification) but never flat. See The Myth of the Flat Earth
Thanks for the correction. This was indeed interesting. I wasn't sure if this might have been a little revisionist history but after looking through various sites it seems to confirm this. The atheists try to excuse early Greek (non-church) writings that said the earth was round in order to make it seem people believed the earth was flat. That's what I get for watching all those "B" rated Christopher Columbus movies.