Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 7526)
+++ /controller/wpsg_AdminController.class.php	(revision 7527)
@@ -1527,5 +1527,5 @@
 			if (isset($_REQUEST['submit']))
 			{
-
+ 
 			    $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));
@@ -1563,14 +1563,22 @@
 					{
 
-						if ($k == 'anrede_auswahl')
-						{
-
-							$san_v = wpsg_sanitize("text_field", $v);
-
-							$this->shop->view['pflicht'][$k] = $san_v;
-							$this->shop->addTranslationString('anrede_auswahl', $san_v);
-
+						if ($k == 'anrede_auswahl') {
+
+							if (wpsg_checkInput($v, WPSG_SANITIZE_TEXTFIELD)) {
+							
+								$this->shop->view['pflicht'][$k] = $v;
+								$this->shop->addTranslationString('anrede_auswahl', $v);
+								
+							} else $this->shop->addBackendError(__('Bitte die Eingaben bei Anrede ÃŒberprÃŒfen.', 'wpsg'));
+
+						} else {
+							
+							if (wpsg_checkInput($v, WPSG_SANITIZE_VALUES, ['0', '1', '2'])) {
+								
+								$this->shop->view['pflicht'][$k] = $v;
+								
+							} else $this->shop->addBackendError(wpsg_translate(__('Bitte die Eingaben bei #1# ÃŒberprÃŒfen.', 'wpsg'), $k));
+							
 						}
-						else $this->shop->view['pflicht'][$k] = wpsg_sinput("key", $v);
 
 					}
@@ -1580,5 +1588,6 @@
 				$this->update_option('wpsg_admin_pflicht', $this->shop->view['pflicht']);
 
-				$this->addBackendMessage(__('Kundenvariablen erfolgreich gespeichert.', 'wpsg'));
+				$this->shop->addBackendMessage(__('Kundenvariablen erfolgreich gespeichert.', 'wpsg'));
+				$this->shop->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=kundendaten');
 
 			}
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 7526)
+++ /lib/functions.inc.php	(revision 7527)
@@ -711,5 +711,5 @@
 	function wpsg_sanitize($type, ...$params)
 	{
-
+ 
 		$err = false;
 
Index: /views/admin/kundendaten.phtml
===================================================================
--- /views/admin/kundendaten.phtml	(revision 7526)
+++ /views/admin/kundendaten.phtml	(revision 7527)
@@ -38,5 +38,5 @@
 <div class="wpsg_admin_content form-horizontal wpsg_customerfield">
 
-	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=<?php echo $_REQUEST['subaction']; ?>">
+	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $_REQUEST['subaction']; ?>&noheader=1">
 	
 		<div class="panel panel-default">
