diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-17 09:08:34 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-17 09:08:34 +0100 |
commit | 8f3716aa76323ad74cf7a63a27d034ab7876e899 (patch) | |
tree | 7bc86c2f967c7cb618dbbd3426b04b5f19067da0 /extensions/BMO | |
parent | f48c48979fa62a9066b368fc189ef1165ddf7ca9 (diff) | |
download | bugzilla-8f3716aa76323ad74cf7a63a27d034ab7876e899.tar.gz bugzilla-8f3716aa76323ad74cf7a63a27d034ab7876e899.tar.xz |
show bug_id instead flag_id in the output of bug_1141452.pl
Diffstat (limited to 'extensions/BMO')
-rwxr-xr-x | extensions/BMO/bin/bug_1141452.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/bin/bug_1141452.pl b/extensions/BMO/bin/bug_1141452.pl index 9ec2713d4..0d9b891ea 100755 --- a/extensions/BMO/bin/bug_1141452.pl +++ b/extensions/BMO/bin/bug_1141452.pl @@ -56,7 +56,7 @@ my $when = $dbh->selectrow_array('SELECT LOCALTIMESTAMP(0)'); $dbh->bz_start_transaction(); foreach my $flag (@$flags) { if (!$flag->{value}) { - print $flag->{id}, ": changing blocking_b2g:backlog -> tracking_b2g:backlog\n"; + print $flag->{bug_id}, ": changing blocking_b2g:backlog -> tracking_b2g:backlog\n"; # no tracking_b2g value, change blocking_b2g:backlog -> tracking_b2g:backlog $dbh->do( "UPDATE tracking_flags_bugs SET tracking_flag_id = ? WHERE id = ?", @@ -80,7 +80,7 @@ foreach my $flag (@$flags) { ); } elsif ($flag->{value}) { - print $flag->{id}, ": deleting blocking_b2g:backlog\n"; + print $flag->{bug_id}, ": deleting blocking_b2g:backlog\n"; # tracking_b2g already has a value, just delete blocking_b2g:backlog $dbh->do( "DELETE FROM tracking_flags_bugs WHERE id = ?", |