Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 7401)
+++ /lib/functions.inc.php	(revision 7402)
@@ -533,4 +533,5 @@
 			"sanitize_key" => "int",
 			'sanitize_wpsg_taxkey' => 'taxkey',
+			'sanitize_wpsg_tf' => 'tf',
 			"sanitize_meta" => "int", // gettype($meta_key) === "int"
 			"sanitize_mime_type" => "str",
@@ -558,4 +559,18 @@
 					$err = __("Bitte ÃŒberprÃŒfen sie folgende Eingabe: ", "wpsg");
 				break;
+				
+			case 'tf': 
+				
+				if (!preg_match('/^\-?\d+(\.|\,)\d+$/', $primary)) {
+					
+					$GLOBALS['wpsg_sc']->addBackendError(__('UngÃŒltige Eingaben, bitte ÃŒberprÃŒfen Sie die markierten Felder.'.$primary, 'wpsg'));
+					
+					return false;
+					
+				}
+				
+				$sanitized_val = wpsg_tf($primary);
+								
+				break;
 
 			case "taxkey":
Index: /mods/wpsg_mod_orderupload.class.php
===================================================================
--- /mods/wpsg_mod_orderupload.class.php	(revision 7401)
+++ /mods/wpsg_mod_orderupload.class.php	(revision 7402)
@@ -66,5 +66,5 @@
 			$this->shop->update_option('wpsg_mod_orderupload_optional', $_REQUEST['wpsg_mod_orderupload_optional'],false, false, "key");
 			$this->shop->update_option('wpsg_mod_orderupload_zip', $_REQUEST['wpsg_mod_orderupload_zip'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_orderupload_maxweight', $_REQUEST['wpsg_mod_orderupload_maxweight'], false, false, "key");
+			$this->shop->update_option('wpsg_mod_orderupload_maxweight', $_REQUEST['wpsg_mod_orderupload_maxweight'], false, false, "wpsg_tf");
 			$this->shop->update_option('wpsg_mod_orderupload_mail', $_REQUEST['wpsg_mod_orderupload_mail'], false, false, "key");
 			$this->shop->update_option('wpsg_mod_orderupload_maxweight_text', $_REQUEST['wpsg_mod_orderupload_maxweight_text'], false, false, "text_field");
