woothemes/woocommerce — pull request #915 by favrik (2012-04-10 21:40:56+00:00)
Title: My approach to fix #914

This is only to show the approach I used to fix https://github.com/woothemes/woocommerce/issues/914

If access_expires is null, I remove that piece of data form the call to $wpdb->insert() and $wpdb->update(). I grepped the code with ack to find the instances where these calls are made, and tested on my environment.

HTH