Fix: PHP Notice: Trying to get property of non-object

When purchase_link shortcode is used with a download ID that does not exist it throws a the following notice:

PHP Notice:  Trying to get property of non-object
Merge pull request #1195 from sumobi/master

Fix: PHP Notice: Trying to get property of non-object