pippinsplugins/Easy-Digital-Downloads — pull request #393 by bobbingwide (2012-10-02 20:19:23+00:00)
Title: Update includes/template-functions.php

Fix to stop: Notice: Trying to get property of non-object in C:\apache\htdocs\wp34\wp-content\plugins\easy-digital-downloads\includes\template-functions.php on line 196
This notice appears multiple times when: WP_DEBUG = true, the oik base plugin is activated and the oik options > options page is displayed.

The fix checks that the global $post variable is set.