From d1d764646b2d8eb8624ff80bf2538e00653c9666 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 2 Oct 2020 12:07:15 +0200 Subject: [PATCH] Bug 22343: Display the correct default values on the admin page The "Default configuration" section at the top of the SMTP servers admin page contains the hardcoded values in Koha::SMTP::Servers->default_setting. It should be the values from the config (and default to hardcoded values unless defined) --- admin/smtp_servers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/smtp_servers.pl b/admin/smtp_servers.pl index da2acee874..9423404dea 100755 --- a/admin/smtp_servers.pl +++ b/admin/smtp_servers.pl @@ -174,7 +174,7 @@ if ( $op eq 'list' ) { my $smtp_servers = Koha::SMTP::Servers->search; $template->param( servers_count => $smtp_servers->count, - default_config => $smtp_servers->default_setting + default_config => $smtp_servers->get_default, ); } -- 2.20.1