Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 8000)
+++ /controller/wpsg_ShopController.class.php	(revision 8001)
@@ -756,5 +756,7 @@
             }
 
-            $this->initShopModule(); // Muss vor initShop passieren, damit init von den Modulen aufgerufen wird
+			// In widgets_init verschoben, damit dort schon die Module verwendet werden kÃ¶nnen
+            // $this->initShopModule(); // Muss vor initShop passieren, damit init von den Modulen aufgerufen wird
+	        
             $this->initShop(); // Wichtig
 	        
@@ -868,5 +870,5 @@
 
 				// Hier mÃŒssen die Ãnderungen der Session gespeichert werden
-				if (($_REQUEST['wpsg']['checkout']??'') !== '') {
+				if (wpsg_isSizedArray($_REQUEST['wpsg']['checkout'])) {
 
 					$_SESSION['wpsg']['checkout'] = wpsg_xss(
@@ -1170,5 +1172,5 @@
 			if ($fixView) $view = $this->view;
 			
-		    \do_action('wpsg_'.$func_name, $arParam + ['view' => $this->view]);
+		    \do_action('wpsg_'.$func_name, $arParam);
 		    
 			foreach ($this->arModule as $m_key => $m) {
@@ -1957,9 +1959,12 @@
 		public function widgets_init() {
 
+			// Sonst kÃ¶nnen die Module keine Widgets registrieren
+			$this->initShopModule();
+			
 			require_once(dirname(__FILE__).'/../lib/wpsg_basket_widget.class.php'); register_widget("wpsg_basket_widget");
 
 			//$this->initShopModule(); in initShop geschoben damit die "init" der Module rechtzeitig geladen wird
 			$this->callMods('widgets_init');
-
+ 
 		} // public function widget_init()
 
@@ -3321,10 +3326,4 @@
 			if (isset($_REQUEST['wpsg']['checkout']['land'])) $_SESSION['wpsg']['checkout']['land'] = $_REQUEST['wpsg']['checkout']['land'];
 
-			if (isset($_REQUEST['getRevocationForm'])) {
-				
-				wpsg_header::PDFPlugin(WPSG_PATH_UPLOADS.'wpsg_revocation/'.$this->get_option('wpsg_revocationform'));
-				
-			}
-			
 			if (!is_admin()) {
 
