diff --git a/opac/svc/report b/opac/svc/report index 1e585cf506..5aad6fe3bf 100755 --- a/opac/svc/report +++ b/opac/svc/report @@ -24,7 +24,7 @@ use Modern::Perl; use C4::Output qw(output_with_http_headers); -use C4::Reports::Guided; +use C4::Reports::Guided qw( execute_query ); use Koha::Reports; use JSON; use CGI qw ( -utf8 ); diff --git a/svc/report b/svc/report index 18b0f2bd4b..cf9765fc26 100755 --- a/svc/report +++ b/svc/report @@ -20,8 +20,8 @@ use Modern::Perl; -use C4::Auth; -use C4::Reports::Guided; +use C4::Auth qw( get_template_and_user ); +use C4::Reports::Guided qw( execute_query ); use Koha::Reports; use JSON; use CGI qw ( -utf8 );