Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 7511)
+++ /lib/functions.inc.php	(revision 7512)
@@ -471,4 +471,6 @@
 	/**
 	 * Entfernt aus einem Wert / Array alle XSS Attacken
+	 * @param $value
+	 * @return array|string
 	 */
 	function wpsg_xss($value)
@@ -1253,5 +1255,5 @@
 				
 				//1.123,23
-				return str_replace(",", ".", str_replace(".", "", $value));
+				return wpsg_tf(str_replace(",", ".", str_replace(".", "", $value)));
 				
 			}
@@ -1260,5 +1262,5 @@
 
 				//1,234.23
-				return str_replace(",", "", $value);
+				return wpsg_tf(str_replace(",", "", $value));
 				
 			}
@@ -1272,5 +1274,5 @@
 		else
 		{
-			return str_replace(",", ".", $value);
+			return floatval(str_replace(",", ".", $value));
 		}
 		
Index: /lib/vendor/leafo/scssphp/bin/pscss
===================================================================
--- /lib/vendor/leafo/scssphp/bin/pscss	(revision 7511)
+++ /lib/vendor/leafo/scssphp/bin/pscss	(revision 7512)
@@ -10,6 +10,4 @@
  * @link http://leafo.github.io/scssphp
  */
-
-//error_reporting(E_ALL);
 
 if (version_compare(PHP_VERSION, '5.4') < 0) {
Index: /lib/vendor/matthiasmullie/minify/bin/minifycss
===================================================================
--- /lib/vendor/matthiasmullie/minify/bin/minifycss	(revision 7511)
+++ /lib/vendor/matthiasmullie/minify/bin/minifycss	(revision 7512)
@@ -13,5 +13,5 @@
 }
 
-error_reporting(E_ALL);
+
 // check PHP setup for cli arguments
 if (!isset($_SERVER['argv']) && !isset($argv)) {
Index: /lib/vendor/matthiasmullie/minify/bin/minifyjs
===================================================================
--- /lib/vendor/matthiasmullie/minify/bin/minifyjs	(revision 7511)
+++ /lib/vendor/matthiasmullie/minify/bin/minifyjs	(revision 7512)
@@ -13,5 +13,5 @@
 }
 
-error_reporting(E_ALL);
+
 // check PHP setup for cli arguments
 if (!isset($_SERVER['argv']) && !isset($argv)) {
Index: /lib/wpsg_calculation.class.php
===================================================================
--- /lib/wpsg_calculation.class.php	(revision 7511)
+++ /lib/wpsg_calculation.class.php	(revision 7512)
@@ -529,5 +529,5 @@
 									
 								}
-								
+								 								
 								//wpsg_Debug($brutto.":".$set_brutto);
 								// Kleiner 0 prÃŒfen
Index: /lib/wpsg_fpdf.class.php
===================================================================
--- /lib/wpsg_fpdf.class.php	(revision 7511)
+++ /lib/wpsg_fpdf.class.php	(revision 7512)
@@ -41,7 +41,5 @@
 		public function wpsg_SetTextColor($strHEXCode)
 		{
-			
-			error_reporting(E_ERROR);
-			
+						
 			if ($strHEXCode[0] == '#')
 		        $strHEXCode = substr($strHEXCode, 1);
Index: /mods/mod_downloadplus/wpsg_fpdf.php
===================================================================
--- /mods/mod_downloadplus/wpsg_fpdf.php	(revision 7511)
+++ /mods/mod_downloadplus/wpsg_fpdf.php	(revision 7512)
@@ -181,7 +181,5 @@
 		public function wpsg_SetTextColor($strHEXCode)
 		{
-				
-			error_reporting(E_ERROR);
-				
+								
 			if ($strHEXCode[0] == '#')
 				$strHEXCode = substr($strHEXCode, 1);
Index: /mods/mod_rechnungen/wpsg_fpdf.class.php
===================================================================
--- /mods/mod_rechnungen/wpsg_fpdf.class.php	(revision 7511)
+++ /mods/mod_rechnungen/wpsg_fpdf.class.php	(revision 7512)
@@ -37,7 +37,5 @@
 		public function SetTextColor($strHEXCode)
 		{
-			
-			error_reporting(E_ERROR);
-			
+						
 			if ($strHEXCode[0] == '#')
 		        $strHEXCode = substr($strHEXCode, 1);
Index: /mods/wpsg_mod_autodebit.class.php
===================================================================
--- /mods/wpsg_mod_autodebit.class.php	(revision 7511)
+++ /mods/wpsg_mod_autodebit.class.php	(revision 7512)
@@ -196,10 +196,10 @@
 				$this->shop->view['error'] = wpsg_getArray($_SESSION['wpsg']['errorFields']);
 				
-				$this->shop->view['wpsg_mod_autodebit']['name'] = wpsg_xss($_SESSION['wpsg']['checkout']['mod_autodebit_name']);
-				$this->shop->view['wpsg_mod_autodebit']['blz'] = wpsg_xss($_SESSION['wpsg']['checkout']['mod_autodebit_blz']);
-				$this->shop->view['wpsg_mod_autodebit']['bic'] = wpsg_xss($_SESSION['wpsg']['checkout']['mod_autodebit_bic']);
-				$this->shop->view['wpsg_mod_autodebit']['inhaber'] = wpsg_xss($_SESSION['wpsg']['checkout']['mod_autodebit_inhaber']);
-				$this->shop->view['wpsg_mod_autodebit']['knr'] = wpsg_xss($_SESSION['wpsg']['checkout']['mod_autodebit_knr']);
-				$this->shop->view['wpsg_mod_autodebit']['iban'] = wpsg_xss($_SESSION['wpsg']['checkout']['mod_autodebit_iban']);
+				$this->shop->view['wpsg_mod_autodebit']['name'] = wpsg_xss(wpsg_getStr($_SESSION['wpsg']['checkout']['mod_autodebit_name']));
+				$this->shop->view['wpsg_mod_autodebit']['blz'] = wpsg_xss(wpsg_getStr($_SESSION['wpsg']['checkout']['mod_autodebit_blz']));
+				$this->shop->view['wpsg_mod_autodebit']['bic'] = wpsg_xss(wpsg_getStr($_SESSION['wpsg']['checkout']['mod_autodebit_bic']));
+				$this->shop->view['wpsg_mod_autodebit']['inhaber'] = wpsg_xss(wpsg_getStr($_SESSION['wpsg']['checkout']['mod_autodebit_inhaber']));
+				$this->shop->view['wpsg_mod_autodebit']['knr'] = wpsg_xss(wpsg_getStr($_SESSION['wpsg']['checkout']['mod_autodebit_knr']));
+				$this->shop->view['wpsg_mod_autodebit']['iban'] = wpsg_xss(wpsg_getStr($_SESSION['wpsg']['checkout']['mod_autodebit_iban']));
 				
 				$arPayment[$this->id]['hint'] .= $this->shop->render(WPSG_PATH_VIEW.'/mods/mod_autodebit/paymenthint.phtml', false);
Index: /mods/wpsg_mod_productvariants.class.php
===================================================================
--- /mods/wpsg_mod_productvariants.class.php	(revision 7511)
+++ /mods/wpsg_mod_productvariants.class.php	(revision 7512)
@@ -529,6 +529,4 @@
         public function produkt_ajax()
         {
-
-        	//error_reporting(E_ALL);
 
 	        $_REQUEST['edit_id'] = wpsg_sinput("key", $_REQUEST['edit_id']);
Index: /system/intern/mods/wpsg_mod_varianten.class.php
===================================================================
--- /system/intern/mods/wpsg_mod_varianten.class.php	(revision 7511)
+++ /system/intern/mods/wpsg_mod_varianten.class.php	(revision 7512)
@@ -285,5 +285,4 @@
 		{
 
-			//error_reporting(E_ALL);
 			$_REQUEST['edit_id'] = wpsg_sinput("key", $_REQUEST['edit_id']);
 			
Index: /system/old/wpsg_mod_productvariants.class.ppp
===================================================================
--- /system/old/wpsg_mod_productvariants.class.ppp	(revision 7511)
+++ /system/old/wpsg_mod_productvariants.class.ppp	(revision 7512)
@@ -373,6 +373,4 @@
         public function produkt_ajax()
         {
-
-        	//error_reporting(E_ALL);
 
         	if (isset($_REQUEST['cmd']) && $_REQUEST['cmd'] == 'wpsg_vp_add')
Index: /system/tests/wpsg_calculation_autoload.php
===================================================================
--- /system/tests/wpsg_calculation_autoload.php	(revision 7511)
+++ /system/tests/wpsg_calculation_autoload.php	(revision 7512)
@@ -9,5 +9,4 @@
 	session_start();
 	
-	error_reporting(E_ERROR);
 	ini_set("display_errors", "1");
 
Index: /views/mods/mod_kundenverwaltung/index_setAccount.phtml
===================================================================
--- /views/mods/mod_kundenverwaltung/index_setAccount.phtml	(revision 7511)
+++ /views/mods/mod_kundenverwaltung/index_setAccount.phtml	(revision 7512)
@@ -4,6 +4,4 @@
      * Template fÃŒr die Auswahl der Kunden fÃŒr die Kundenzusammenfassung
      */
-
-    error_reporting(E_ALL); ini_set("display_errors", "1");
     
 ?>
