https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115409

Revision: 115409
Author:   hashar
Date:     2012-05-21 15:17:20 +0000 (Mon, 21 May 2012)
Log Message:
-----------
make X-Bugzilla-Product "global"

Modified Paths:
--------------
    trunk/tools/wikibugs/wikibugs

Modified: trunk/tools/wikibugs/wikibugs
===================================================================
--- trunk/tools/wikibugs/wikibugs       2012-05-21 15:17:18 UTC (rev 115408)
+++ trunk/tools/wikibugs/wikibugs       2012-05-21 15:17:20 UTC (rev 115409)
@@ -141,8 +141,8 @@
 # This stuff is going to contain $st. But we want a chance of changing it 
first.
 $output = "";
 
+my $product = $mail->header( 'X-Bugzilla-Product' );
 if ($st eq "\00303(NEW)\003") {
-  my $product   = $mail->header( 'X-Bugzilla-Product' );
   my $component = $mail->header( 'X-Bugzilla-Component' );
   my $severity  = $mail->header( 'X-Bugzilla-Severity' );
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to