diff --git a/webtools/tinderbox2/src/lib/HTMLPopUp.pm b/webtools/tinderbox2/src/lib/HTMLPopUp.pm
index f0ca9f1b72fc..6886f3ee6797 100644
--- a/webtools/tinderbox2/src/lib/HTMLPopUp.pm
+++ b/webtools/tinderbox2/src/lib/HTMLPopUp.pm
@@ -12,8 +12,8 @@
# the completed string before it is returned.
-# $Revision: 1.14 $
-# $Date: 2002/04/27 00:47:30 $
+# $Revision: 1.15 $
+# $Date: 2002/04/27 01:13:08 $
# $Author: kestes%walrus.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/HTMLPopUp.pm,v $
# $Name: $
@@ -237,13 +237,17 @@ sub split_cgi_args {
# Environmental variables are checked for security.
sub regenerate_HTML_pages {
- local $ENV{"QUERY_STRING"} = '';
+ my $old_query_string = $ENV{"QUERY_STRING"};
+
+ $ENV{"QUERY_STRING"} = '';
system(
$FileStructure::CGIBIN_DIR.'tinder.cgi',
'--daemon-mode',
);
+ $ENV{"QUERY_STRING"} = $old_query_string;
+
return 0;
}