From 36daec54856edb525ad96a3e92b9380a45763761 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 26 Jul 2016 00:46:52 +0000 Subject: learn: fix uninitialized variable Oops :x --- script/public-inbox-learn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/public-inbox-learn') diff --git a/script/public-inbox-learn b/script/public-inbox-learn index 09fd7c8f..396ab489 100755 --- a/script/public-inbox-learn +++ b/script/public-inbox-learn @@ -57,7 +57,7 @@ foreach my $recipient (keys %dests) { my $git = PublicInbox::Git->new($git_dir); # We do not touch GIT_COMMITTER_* env here so we can track # who trained the message. - my $name = $ENV{GIT_COMMITTER_NAME} || $dst->{inbox}; + my $name = $ENV{GIT_COMMITTER_NAME} || $dst->{name}; my $email = $ENV{GIT_COMMITTER_EMAIL} || $recipient; my $im = PublicInbox::Import->new($git, $name, $email); -- cgit v1.2.3-24-ge0c7