diff --git a/acqui/updatesupplier.pl b/acqui/updatesupplier.pl index 65093d8ba2..c3705c2851 100755 --- a/acqui/updatesupplier.pl +++ b/acqui/updatesupplier.pl @@ -60,7 +60,7 @@ use CGI qw ( -utf8 ); my $input=new CGI; my ($template, $loggedinuser, $cookie) = get_template_and_user( - { template_name => "", + { template_name => "errors/404.tt", query => $input, type => "intranet", authnotrequired => 0, diff --git a/opac/opac-ratings.pl b/opac/opac-ratings.pl index bb1297e200..c8a3d78e31 100755 --- a/opac/opac-ratings.pl +++ b/opac/opac-ratings.pl @@ -42,7 +42,7 @@ my $a = $query->Vars; #### $a my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "", + template_name => "errors/404.tt", query => $query, type => "opac", authnotrequired => 0, # auth required to add tags diff --git a/tools/quotes/quotes-upload_ajax.pl b/tools/quotes/quotes-upload_ajax.pl index 93bbfbeb59..fa87ce89ff 100755 --- a/tools/quotes/quotes-upload_ajax.pl +++ b/tools/quotes/quotes-upload_ajax.pl @@ -34,7 +34,7 @@ my $dbh = C4::Context->dbh; my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { - template_name => "", + template_name => "errors/404.tt", query => $cgi, type => "intranet", authnotrequired => 0, diff --git a/tools/quotes/quotes_ajax.pl b/tools/quotes/quotes_ajax.pl index d08178f913..5ee710a710 100755 --- a/tools/quotes/quotes_ajax.pl +++ b/tools/quotes/quotes_ajax.pl @@ -33,7 +33,7 @@ my $sort_columns = ["id", "source", "text", "timestamp"]; my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { - template_name => "", + template_name => "errors/404.tt", query => $cgi, type => "intranet", authnotrequired => 0,