Index: /mods/wpsg_mod_coverletter.class.php
===================================================================
--- /mods/wpsg_mod_coverletter.class.php	(revision 7261)
+++ /mods/wpsg_mod_coverletter.class.php	(revision 7262)
@@ -1,6 +1,4 @@
 <?php
-	
-	define('WPSG_TBL_COVERLETTER', $this->shop->prefix.'wpsg_coverletter');
-	
+		
 	/**
 	 * Modul zur Generierung von Anschreibenen
@@ -16,5 +14,7 @@
 			
 			parent::__construct();
-						
+			
+			define('WPSG_TBL_COVERLETTER', $this->shop->prefix.'wpsg_coverletter');
+			
 			$this->name = __('Anschreiben', 'wpsg');
 			$this->group = __('Bestellung', 'wpsg');
Index: /mods/wpsg_mod_kundenverwaltung.class.php
===================================================================
--- /mods/wpsg_mod_kundenverwaltung.class.php	(revision 7261)
+++ /mods/wpsg_mod_kundenverwaltung.class.php	(revision 7262)
@@ -254,5 +254,5 @@
 
 			require_once(dirname(__FILE__).'/mod_kundenverwaltung/wpsg_kundenverwaltung_widget.class.php');
-			add_action('widgets_init', create_function('', 'return register_widget("wpsg_kundenverwaltung_widget");'));
+			add_action('widgets_init', function() { return register_widget("wpsg_kundenverwaltung_widget"); } );
 			
             if (is_admin())
Index: /mods/wpsg_mod_topseller.class.php
===================================================================
--- /mods/wpsg_mod_topseller.class.php	(revision 7261)
+++ /mods/wpsg_mod_topseller.class.php	(revision 7262)
@@ -93,5 +93,6 @@
 
 			require_once(dirname(__FILE__).'/mod_topseller/wpsg_mod_topseller_widget.class.php');
-			add_action('widgets_init', create_function('', 'return register_widget("wpsg_mod_topseller_widget");'));
+
+			add_action('widgets_init', function() { return register_widget("wpsg_mod_topseller_widget"); } );
 			
 		} // public function load()
Index: /mods/wpsg_mod_trustedshops.class.php
===================================================================
--- /mods/wpsg_mod_trustedshops.class.php	(revision 7261)
+++ /mods/wpsg_mod_trustedshops.class.php	(revision 7262)
@@ -359,5 +359,6 @@
 			
 			require_once(dirname(__FILE__).'/mod_trustedshops/wpsg_mod_trustedshops_widget.class.php');
-			add_action('widgets_init', create_function('', 'return register_widget("wpsg_mod_trustedshops_widget");'));
+
+			add_action('widgets_init', function() {  return register_widget("wpsg_mod_trustedshops_widget"); } );
 			
 		} // public function load()
