- $bz->change_status("fixed") if ( $set->{action} eq 'fixes' );
- $bz->change_status("closed") if ( $set->{action} eq 'closes' );
+ $bz->change_status("fixed") if ( $set->{action} =~ /fixes/ );
+ $bz->change_status("closed") if ( $set->{action} =~ /closes/ );
push( @results, { bug => $bugid, action => $action } );
##printf( "%s\n\taction = %s bugid = %s\n", $info->{rev}, $action, $bugid );
push( @results, { bug => $bugid, action => $action } );
##printf( "%s\n\taction = %s bugid = %s\n", $info->{rev}, $action, $bugid );