[Bps-public-commit] cpan2rt branch master updated. 0d33ad54e674b8b7614d5e80935e326ea6d43a15

BPS Git Server git at git.bestpractical.com
Fri Jan 28 17:19:28 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "cpan2rt".

The branch, master has been updated
       via  0d33ad54e674b8b7614d5e80935e326ea6d43a15 (commit)
      from  40fd5851818b7d1bbec8e6563336015795e1586d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0d33ad54e674b8b7614d5e80935e326ea6d43a15
Author: Brian Conry <bconry at bestpractical.com>
Date:   Fri Jan 28 11:18:48 2022 -0600

    Fix copy/paste error
    
    I forgot to remove the postcondition after I did a copy/paste.

diff --git a/lib/CPAN2RT.pm b/lib/CPAN2RT.pm
index 200eac3..c7a4909 100644
--- a/lib/CPAN2RT.pm
+++ b/lib/CPAN2RT.pm
@@ -826,7 +826,7 @@ sub load_or_create_user {
             $byemail->SetEmailAddress( '' ) if $byemail->id;
         }
         elsif( exists $bounce_map->{ $bycpanid->EmailAddress } ) {
-            $bycpanid->SetEmailAddress( '' ) if $byemail->id;
+            $bycpanid->SetEmailAddress( '' );
         }
 
         $bycpanid->SetEmailAddress( $email )

-----------------------------------------------------------------------

Summary of changes:
 lib/CPAN2RT.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
cpan2rt


More information about the Bps-public-commit mailing list