From 97b907216b0b24c5a0850918bf4783e58792f1bc Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Tue, 1 Jan 2008 19:45:30 -0600 Subject: [PATCH] fix for bug 1723. no auth on finishreceive.pl Signed-off-by: Joshua Ferraro --- acqui/finishreceive.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 71c548a24e..0a70e971e2 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -22,15 +22,17 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; -use C4::Context; +use CGI; +use C4::Auth; use C4::Output; +use C4::Context; use C4::Acquisition; use C4::Biblio; -use CGI; use C4::Search; my $input=new CGI; - +my $flagsrequired = { acquisitions => 1}; +my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired); my $user=$input->remote_user; my $biblionumber = $input->param('biblionumber'); my $biblioitemnumber=$input->param('biblioitemnumber'); -- 2.39.5