diff --git a/modules/attachments/show_res_id.php b/modules/attachments/show_res_id.php
index a580b2725635da3e4211fa24ba5c2eca3e509f7f..69e77bffb1c9be633ac893b52d101ff9305345e4 100644
--- a/modules/attachments/show_res_id.php
+++ b/modules/attachments/show_res_id.php
@@ -39,7 +39,7 @@ if (input_res) {
 if ($_SESSION['current_basket']['id'] == "IndexingBasket") {
 	?>window.opener.$('attach').click();<?php
 }
-$_SESSION['stockCheckbox'] = '';
+//$_SESSION['stockCheckbox'] = '';
 ?>
 self.close();
 </script>