[Koha-bugs] [Bug 18783] Allow automatic claims for serials

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 29 10:11:33 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18783

--- Comment #14 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Hi,

This change looks like outside of scope :

@@ -502,7 +507,8 @@ sub SendAlerts {
         }

         my $success = try {
-            $mail->send_or_die({ transport => $library->smtp_server->transport
});
+            my $smtp_server = $library ? $library->smtp_server :
Koha::SMTP::Servers->get_default;
+            $mail->send_or_die({ transport => $smtp_server->transport });
         }

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list