Index: /changelog
===================================================================
--- /changelog	(revision 7861)
+++ /changelog	(revision 7862)
@@ -438,2 +438,3 @@
 - Bugfix: Login Widget wieder verwendbar in aktueller WP Version
 - Bugfix: Fehlber bei der Suche nach Produktgruppen behoben
+- Bugfix: Produkttemplate fÃŒr den Warenkorbteaser lÃ€sst sich wieder Ã€ndern
Index: /mods/wpsg_mod_basketteaser.class.php
===================================================================
--- /mods/wpsg_mod_basketteaser.class.php	(revision 7861)
+++ /mods/wpsg_mod_basketteaser.class.php	(revision 7862)
@@ -51,8 +51,6 @@
 			
 			$arProductTemplates = $this->shop->loadProduktTemplates(true);
-			
-			$this->shop->update_option('wpsg_mod_basketteaser_template', $_REQUEST['wpsg_mod_basketteaser_template'], false, false, "wpsg_in_array", [
-				[0] + array_keys($arProductTemplates)
-			]);
+
+			$this->shop->update_option('wpsg_mod_basketteaser_template', $_REQUEST['wpsg_mod_basketteaser_template'], false, false, WPSG_SANITIZE_VALUES, array_merge([0], array_keys($arProductTemplates)));
 			
 			$this->shop->update_option('wpsg_mod_basketteaser_show', $_REQUEST['wpsg_mod_basketteaser_show'], false, false, WPSG_SANITIZE_VALUES, ['0', '1']);
Index: /views/mods/mod_basketteaser/settings_edit.phtml
===================================================================
--- /views/mods/mod_basketteaser/settings_edit.phtml	(revision 7861)
+++ /views/mods/mod_basketteaser/settings_edit.phtml	(revision 7862)
@@ -8,22 +8,2 @@
 <?php echo wpsg_drawForm_Select('wpsg_mod_basketteaser_show', __('Anzeige', 'wpsg'), array(0 => __('Unter dem Warenkorb', 'wpsg'), 1 => __('Im Warenkorb', 'wpsg')), $this->get_option('wpsg_mod_basketteaser_show'), array('help' => 'wpsg_mod_basketteaser_show')); ?>
 <?php echo wpsg_drawForm_Select('wpsg_mod_basketteaser_template', __('Template fÃŒr die Produkte im Warenkorb', 'wpsg'), $this->view['templates'], $this->get_option('wpsg_mod_basketteaser_template'), array('help' => 'wpsg_mod_basketteaser_template'))?>
-
-<script type="text/javascript">
-
-	function wpsg_mod_basketteaser_switchshow()
-	{
-
-		if (jQuery('#wpsg_mod_basketteaser_show').val() == '0') jQuery('#wpsg_mod_basketteaser_template').parent().parent().show();
-		else jQuery('#wpsg_mod_basketteaser_template').parent().parent().hide();
-		
-	}
-
-	jQuery(document).ready(function() {
-
-		jQuery('#wpsg_mod_basketteaser_show').bind('change', function() { wpsg_mod_basketteaser_switchshow(); } );
-		
-		wpsg_mod_basketteaser_switchshow();
-		
-	} );
-
-</script>
