Browse Source

(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 <jmf@liblime.com>
3.0.x
Paul POULAIN 15 years ago
committed by Joshua Ferraro
parent
commit
f0deb12b78
  1. 4
      acqui/finishreceive.pl

4
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');

Loading…
Cancel
Save