@@ -, +, @@ --- admin/audio_alerts.pl | 2 +- .../prog/en/includes/doc-head-close.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/admin/audio_alerts.pl +++ a/admin/audio_alerts.pl @@ -58,6 +58,6 @@ if ( $id && $action && $where && $action eq 'move' ) { Koha::AudioAlerts->find($id)->move($where); } -$template->param( audio_alerts => scalar Koha::AudioAlerts->search() ); +$template->param( AudioAlerts => 1, audio_alerts => scalar Koha::AudioAlerts->search() ); output_html_with_http_headers $cgi, $cookie, $template->output; --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -64,7 +64,7 @@ [% END %] -[% IF Koha.Preference('AudioAlerts') %] +[% IF Koha.Preference('AudioAlerts') || AudioAlerts %]