woothemes/woocommerce — pull request #6548 by SiR-DanieL (2014-10-16 06:56:46+00:00)
Title: Fix potential bug

Added `default` to prevent notices and reordered the code.