Bug 32046: Compiled CSS
[koha-ffzg.git] / admin / audio_alerts.pl
index 4f8de64..e28151b 100755 (executable)
@@ -20,8 +20,8 @@
 use Modern::Perl;
 
 use CGI;
-use C4::Auth;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 use Koha::AudioAlert;
 use Koha::AudioAlerts;
 
@@ -61,6 +61,6 @@ if (@delete) {
     Koha::AudioAlerts->fix_precedences();
 }
 
-$template->param( AudioAlertsPage => 1, audio_alerts => scalar Koha::AudioAlerts->search() );
+$template->param( AudioAlertsPage => 1, audio_alerts => Koha::AudioAlerts->search() );
 
 output_html_with_http_headers $cgi, $cookie, $template->output;