Index: /model/wpsg_product.class.php
===================================================================
--- /model/wpsg_product.class.php	(revision 8500)
+++ /model/wpsg_product.class.php	(revision 8501)
@@ -785,5 +785,6 @@
 
 					}
-					$lowestShippingCosts[$vz] = min($nonZeroCosts);
+
+					if (sizeof($nonZeroCosts) > 0) $lowestShippingCosts[$vz] = min($nonZeroCosts);
 
 				}
Index: /mods/wpsg_mod_rechnungen.class.php
===================================================================
--- /mods/wpsg_mod_rechnungen.class.php	(revision 8500)
+++ /mods/wpsg_mod_rechnungen.class.php	(revision 8501)
@@ -1876,5 +1876,5 @@
                 }
 
-                $oInvoice->setMeta('version', '3');
+            $oInvoice->setMeta('version', '3');
 				
 				foreach ($order_ids as $o_id) {
@@ -1898,5 +1898,5 @@
 				}
 
-				$this->shop->view['file_path'] = $oInvoice->getFilePath();
+				$this->shop->view['file_path'] = $oInvoice->getFilePath(true);
 
 			}
