Skip to content

Commit

Permalink
FIXED - JENKINS-16453
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Richter committed Jan 23, 2013
1 parent a0b9699 commit 608e6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/GitChangeSet.java
Expand Up @@ -271,7 +271,7 @@ public User findOrCreateUser(String csAuthor, String csAuthorEmail, boolean crea
user = User.get(csAuthorEmail.split("@")[0], true);
}
// set email address for user if none is already available
if (fixEmpty(csAuthorEmail) != null && user.getProperty(Mailer.UserProperty.class)==null) {
if (fixEmpty(csAuthorEmail) != null && user.getProperty(Mailer.UserProperty.class).getAddress()) {
try {
user.addProperty(new Mailer.UserProperty(csAuthorEmail));
} catch (IOException e) {
Expand Down

0 comments on commit 608e6f7

Please sign in to comment.