From f0deb12b784923f17655c7d295fb9c7643a4be86 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Tue, 13 May 2008 10:19:20 +0200 Subject: [PATCH] (bugfix, CRI) Permission needed is acquisition, not acquisitionS + i've added 'intranet' to reach intranet error page, not OPAC one (which is the default when no type specified) Signed-off-by: Joshua Ferraro --- acqui/finishreceive.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 1d5b169985..8d4e371575 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -32,8 +32,8 @@ use C4::Items; use C4::Search; my $input=new CGI; -my $flagsrequired = { acquisitions => 1}; -my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired); +my $flagsrequired = { acquisition => 1}; +my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired, 'intranet'); my $user=$input->remote_user; my $biblionumber = $input->param('biblionumber'); my $biblioitemnumber=$input->param('biblioitemnumber'); -- 2.39.5