@@ -, +, @@ http://localhost:8080/cgi-bin/koha/svc/suggestion?render=stub&q=test generates a 200 response instead of a 500 error --- opac/svc/suggestion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/opac/svc/suggestion +++ a/opac/svc/suggestion @@ -53,9 +53,9 @@ Number of suggestions to display. Defaults to 4 in stub mode, 20 otherwise. use Modern::Perl; -use C4::Auth; +use C4::Auth qw( get_template_and_user ); use C4::Context; -use C4::Output; +use C4::Output qw( output_html_with_http_headers ); use CGI qw ( -utf8 ); use JSON; use Koha::SuggestionEngine; --