Index: /mods/wpsg_mod_export.class.php
===================================================================
--- /mods/wpsg_mod_export.class.php	(revision 8140)
+++ /mods/wpsg_mod_export.class.php	(revision 8141)
@@ -2165,5 +2165,9 @@
                 case 'product_picture_url':
 
-                    $nAttachmentID = $this->shop->imagehandler->getAttachmentID($oOrderProduct->getProductKey());
+					if ($oOrderProduct !== null)
+                        $nAttachmentID = $this->shop->imagehandler->getAttachmentID($oOrderProduct->getProductKey());
+                    else 
+						$nAttachmentID = $this->shop->imagehandler->getAttachmentID($oProduct->getId());
+					
                     $return = '';
 
