Index: /mods/wpsg_mod_rechnungen.class.php
===================================================================
--- /mods/wpsg_mod_rechnungen.class.php	(revision 8214)
+++ /mods/wpsg_mod_rechnungen.class.php	(revision 8215)
@@ -602,5 +602,5 @@
 				$oInvoice = \wpsg\wpsg_invoice::getInstance(intval($_REQUEST['r_id']));
 
-				if ($rechnung['id'] != $_REQUEST['r_id'] || !in_array(intval($_REQUEST['edit_id']), explode(',', $oInvoice->getOrderIds()))) die(__("Rechnung existiert nicht oder passt nicht zur Bestellung!", "wpsg"));
+				if ($rechnung['id'] != $_REQUEST['r_id'] || !in_array(intval($_REQUEST['edit_id']), $oInvoice->getOrderIds())) die(__("Rechnung existiert nicht oder passt nicht zur Bestellung!", "wpsg"));
 				
 				$this->shop->view['order'] = $this->shop->cache->loadOrder($oInvoice->getOrderIds()[0]);
