woothemes/woocommerce — pull request #5572 by justinstern (2014-05-27 13:50:29+00:00)
Title: Check for Existence of Cart Before Using

check for the existence of the cart during the is_available() check before getting the order total (which otherwise will result in a PHP notice from the admin, etc)