woothemes/woocommerce — pull request #4524 by DominoTree (2014-01-17 20:30:07+00:00)
Title: Minor fix to stop warnings in HHVM

HHVM is a bit weird and will throw these warnings otherwise:

HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 36
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 37

(HHVM is a JIT-compiled PHP interpreter created by Facebook. In production, I've found that my pages are generated roughly 60% faster simply by switching. http://www.hhvm.com/)