Index: /changelog
===================================================================
--- /changelog	(revision 8284)
+++ /changelog	(revision 8285)
@@ -579,7 +579,8 @@
 
 #4.4.4
-- Bugfix: EAN bei Varianten auch ohne Produktartikelmodul anzeigbar wenn gefÃŒllt
-- Feature: Produktkombinationen fÃŒr Varianten
-- Feature: Productcodemanagement
-- Feature: Positionsnummer fÃŒr Produktgruppen
-- Feature: Markierung wenn Produktgruppe aktiven Rabatt hat in ProduktgruppenÃŒbersicht
+- Feature: Productcodemanagement - Produktcodes (EAN, GTIN, SKU ...) kÃ¶nnen nun in einem neuem Reiter im Produkt eingepflegt werden
+- Feature: Modul Produktvarianten: Produktkombinationen fÃŒr Varianten
+- Feature: Modul Produktgruppen: Positionsnummer fÃŒr Produktgruppen im Frontend
+- Feature: Modul Produktgruppen: Markierung wenn Produktgruppe aktiven Rabatt hat in ProduktgruppenÃŒbersicht
+- Bugfix: Modul Produktvarianten: EAN bei Varianten auch ohne Produktartikelmodul anzeigbar wenn gefÃŒllt
+- Anpassung: Modul Exportprofile: Google Produktfeed Versandkosten werden nur noch fÃŒr De, AT und CH ausgegeben
Index: /lib/helper_functions.inc.php
===================================================================
--- /lib/helper_functions.inc.php	(revision 8284)
+++ /lib/helper_functions.inc.php	(revision 8285)
@@ -163,8 +163,8 @@
 	
 		global $wp_filesystem;
-			
+
 		if (is_file($src))
 		{
-				
+		
 			if (!file_exists(dirname($dst)))
 			{
@@ -197,15 +197,15 @@
 				
 		}
-	
+
 		if (is_dir($src) && !file_exists($dst))
 		{
-				
+
 			$ok = wpsg_mkdir($dst);
-			if (!$ok) die(__('Verzeichnis konnte nicht angelegt werden.', 'wpsg'));
-				
-		}
-	
+			if (!$ok || !is_dir($dst)) die(__('Verzeichnis konnte nicht angelegt werden.', 'wpsg'));  
+
+		}
+
 		$dir_hdle = opendir($src);
-	
+
 		while ($file = readdir($dir_hdle))
 		{
@@ -213,5 +213,5 @@
 			if (!in_array($file, array(".", "..")))
 			{
-				 
+
 				$ok = wpsg_copy($src."/".$file, $dst.'/'.$file);
 				if (!$ok) return false;
Index: /mods/mod_rechnungen/wpsg_invoice.php
===================================================================
--- /mods/mod_rechnungen/wpsg_invoice.php	(revision 8284)
+++ /mods/mod_rechnungen/wpsg_invoice.php	(revision 8285)
@@ -84,5 +84,5 @@
 
 				if ($this->shop->isMultiBlog()) $path = WP_CONTENT_DIR.'/'.WPSG_MB_UPLOADS.'/wpsg/wpsg_rechnungen/'.$ym.'/multi/'.$this->getId();
-                else $path = WPSG_PATH_CONTENT.'uploads/wpsg/wpsg_rechnungen/'.$ym.'/multi/'.$this->getId();
+                else $path = WPSG_PATH_CONTENT.'uploads/wpsg/wpsg_rechnungen/'.$ym.'/multi/'.$this->getId().'.pdf';
 
 			} else {
Index: /mods/wpsg_mod_rechnungen.class.php
===================================================================
--- /mods/wpsg_mod_rechnungen.class.php	(revision 8284)
+++ /mods/wpsg_mod_rechnungen.class.php	(revision 8285)
@@ -1725,26 +1725,5 @@
 					$oInvoice->setMeta('version', '3');
 
-					$FilePath = dirname($oInvoice->getFilePath()); 
-
-					/**
-					 * Damit alte Rechnungen noch versendet werden
-					 */
-					if (file_exists($FilePath.'/'.$r_id.'.pdf')) { 
- 
-						$file = $FilePath.'/'.$r_id.'.pdf';
-					
-					} else if (file_exists($FilePath.'/'.$rnr.'.pdf')) {
- 
-						$file = $FilePath.'/'.$rnr.'.pdf';
-					
-					} else if (file_exists($FilePath.'/'.'R'.$r_id.'.pdf')) {
-						
-						$file = $FilePath.'/'.'R'.$r_id.'.pdf';
-						
-					} else {
-						
-						$file = $FilePath.'/'.'R'.$rnr.'.pdf';
-					
-					}
+					$file = dirname($oInvoice->getFilePath()); 
 
 					$file = $this->copyTemp($file, $rnr);
@@ -2064,5 +2043,4 @@
 			
 			$path = $this->shop->getTempDir();
-
 			wpsg_copy($file, $path.'/'.$rnr.'.pdf');
 
