Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 7525)
+++ /controller/wpsg_AdminController.class.php	(revision 7526)
@@ -1528,10 +1528,9 @@
 			{
 
-			    $this->shop->update_option('wpsg_customerpreset_shipping', $_REQUEST['wpsg_customerpreset_shipping'], false, false, WPSG_SANITIZE_INT);
-			    $this->shop->update_option('wpsg_customerpreset_payment', $_REQUEST['wpsg_customerpreset_payment'], false, false, WPSG_SANITIZE_INT);
+			    $this->shop->update_option('wpsg_customerpreset_shipping', $_REQUEST['wpsg_customerpreset_shipping'], false, false, WPSG_SANITIZE_VALUES, array_keys($this->shop->arShipping));
+			    $this->shop->update_option('wpsg_customerpreset_payment', $_REQUEST['wpsg_customerpreset_payment'], false, false, array_keys($this->shop->arPayment));
 			    $this->shop->update_option('wpsg_defaultland', $_REQUEST['wpsg_defaultland'], false, false, WPSG_SANITIZE_INT);
 			    $this->shop->update_option('wpsg_customerpreset_title', $_REQUEST['wpsg_customerpreset_title'], false, false, WPSG_SANITIZE_INT);
-
-				$this->update_option('wpsg_kundenvariablen_show', $_REQUEST['wpsg_kundenvariablen_show'], false, false, WPSG_SANITIZE_INT);
+			    $this->shop->update_option('wpsg_kundenvariablen_show', $_REQUEST['wpsg_kundenvariablen_show'], false, false, WPSG_SANITIZE_CHECKBOX, ['allowEmpty' => true]);
 
 				foreach ($_REQUEST['pflicht'] as $k => $v)
Index: /lib/filter_functions.inc.php
===================================================================
--- /lib/filter_functions.inc.php	(revision 7525)
+++ /lib/filter_functions.inc.php	(revision 7526)
@@ -518,5 +518,5 @@
 			if (wpsg_isSizedArray($_SESSION['sanitization_err_fields'])) {
 				
-				ob_start(); wpsg_debug($_SESSION['sanitization_err_fields']); $content .= '<div style="position:fixed; background-color:lightgrey; z-index:10000; left:50%; top:50%; width:500px; height:500px; overflow:scroll; margin-left:-250px; margin-top:-250px;">'.ob_get_contents().'</div>'; ob_end_clean();
+				//ob_start(); wpsg_debug($_SESSION['sanitization_err_fields']); $content .= '<div style="position:fixed; background-color:lightgrey; z-index:10000; left:50%; top:50%; width:500px; height:500px; overflow:scroll; margin-left:-250px; margin-top:-250px;">'.ob_get_contents().'</div>'; ob_end_clean();
 				
 	        	foreach($_SESSION['sanitization_err_fields'] as $field_name => $nCalls) {
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 7525)
+++ /lib/functions.inc.php	(revision 7526)
@@ -515,5 +515,5 @@
 		$bReturn = false;
 		
-		if (!isset($val)) return false;
+		if (!isset($val) && !wpsg_isTrue($param['allowEmpty'])) return false;		
 		
 		if (!is_numeric($type)) $type = -1;
