Author: adam-guest
Date: 2008-08-08 22:11:40 +0000 (Fri, 08 Aug 2008)
New Revision: 1585

Modified:
   trunk/scripts/bts.pl
Log:
Make $gifted local to bts_tags() so that its value doesn't get applied to 
anything other than the bug being gifted

Modified: trunk/scripts/bts.pl
===================================================================
--- trunk/scripts/bts.pl        2008-08-08 21:35:43 UTC (rev 1584)
+++ trunk/scripts/bts.pl        2008-08-08 22:11:40 UTC (rev 1585)
@@ -509,7 +509,6 @@
 my $opt_ccemail = "";
 my $use_default_cc = 1;
 my $ccsecurity="";
-my $gifted = "";
 
 Getopt::Long::Configure('require_order');
 GetOptions("help|h" => \$opt_help,
@@ -1295,6 +1294,8 @@
     }
     
     my $base_command = $command;
+    my $gifted = "";
+
     foreach my $tag (@_) {
        if (exists $valid_tags{$tag}) {
            $command .= " $tag";



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to