diff --git a/Koha/Suggestion.pm b/Koha/Suggestion.pm index 29ca1b4803..4f33b84887 100644 --- a/Koha/Suggestion.pm +++ b/Koha/Suggestion.pm @@ -100,7 +100,7 @@ sub store { # can be undef for branch=any suggestions my $library = $result->library; if ( $library && $library->inbound_email_address ) { - $toaddress = $library->inbound_email_address; + $toaddress = $library->inbound_email_address; } } elsif ( $emailpurchasesuggestions eq "KohaAdminEmailAddress" ) { $toaddress = C4::Context->preference('ReplytoDefault')