Index: /mods/wpsg_mod_productgroups.class.php
===================================================================
--- /mods/wpsg_mod_productgroups.class.php	(revision 7564)
+++ /mods/wpsg_mod_productgroups.class.php	(revision 7565)
@@ -718,6 +718,6 @@
 			if ($this->shop->hasMod('wpsg_mod_stock')) {
 				
-				wpsg_checkRequest('stock_aktiv', [WPSG_SANITIZE_INT], __('Bestand'), $data);
-				wpsg_checkRequest('stock_value', [WPSG_SANITIZE_CHECKBOX], __('Lagerbestand zÃ€hlen'), $data);
+				wpsg_checkRequest('stock_value', [WPSG_SANITIZE_INT, ['allowEmpty' => true]], __('Bestand'), $data, $_REQUEST['wpsg_mod_productgroups']['stock_value']);
+				wpsg_checkRequest('stock_aktiv', [WPSG_SANITIZE_CHECKBOX], __('Lagerbestand zÃ€hlen'), $data, $_REQUEST['wpsg_mod_productgroups']['stock_aktiv']);
 				
 			}
Index: /mods/wpsg_mod_stock.class.php
===================================================================
--- /mods/wpsg_mod_stock.class.php	(revision 7564)
+++ /mods/wpsg_mod_stock.class.php	(revision 7565)
@@ -65,11 +65,11 @@
 		    $this->shop->update_option('wpsg_mod_stock_hideSoldout', $_REQUEST['wpsg_mod_stock_hideSoldout'], false, false, WPSG_SANITIZE_CHECKBOX);
 
-			if ($this->shop->hasMod('wpsg_mod_productindex'))
-			{
+			if ($this->shop->hasMod('wpsg_mod_productindex')) {
+				
 			    $this->shop->update_option('wpsg_mod_stock_showProductindex', $_REQUEST['wpsg_mod_stock_showProductindex'], false, false, WPSG_SANITIZE_CHECKBOX);
+			    
 			}
 
 			$this->shop->update_option('wpsg_mod_stock_showProduct', $_REQUEST['wpsg_mod_stock_showProduct'], false, false, WPSG_SANITIZE_CHECKBOX);
-
 
 		} // public function settings_save()
