Index: /controller/wpsg_OrderController.class.php
===================================================================
--- /controller/wpsg_OrderController.class.php	(revision 8192)
+++ /controller/wpsg_OrderController.class.php	(revision 8193)
@@ -1642,5 +1642,5 @@
 
 							// Damit alle Produkte der Bestellung ausgewÃ€hlt werden
-							if(!$_REQUEST['invoice_products'] ) {
+							if(!$_REQUEST['invoice_products']) {
 
 								$db_invoice_products = $this->db->fetchAssoc("
@@ -1700,8 +1700,13 @@
 						{
 
+							wpsg_debug($arIDs);
+							wpsg_debug(implode('_', $arIDs));
+							wpsg_debug(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&noheader=1&do=writeMultiRechnung&ids='.implode('_', $arIDs));
+							die();
+							
 							// Downloadlink buggy
 							$this->addBackendMessage(
 								'nohspc_'.wpsg_translate(__('#1# Rechnungen geschrieben', 'wpsg'), $nWriteRechnung)
-								//.' <a href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&noheader=1&do=writeMultiRechnung&ids='.implode('_', $arIDs).'" target="_new">'.__('Download', 'wpsg').'</a>'
+								.' <a href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&noheader=1&do=writeMultiRechnung&ids='.implode('_', $arIDs).'" target="_new">'.__('Download', 'wpsg').'</a>'
 							);
 
@@ -1709,5 +1714,5 @@
 	
 					} else if ($_REQUEST['wpsg_action'] == 'writeMultiRechnung') {
-					
+
 						$bPreview = $_REQUEST['preview'] === '1';
 						$nWriteRechnung = 0;
