Bug 24878: Add auth check for copy-holidays
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 6ef4c45b84)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
This commit is contained in:
parent
54dfd0a0cd
commit
f97f271fd2
|
|
@ -30,6 +30,8 @@ use C4::Calendar;
|
|||
my $input = new CGI;
|
||||
my $dbh = C4::Context->dbh();
|
||||
|
||||
checkauth($input, 0, {tools=> 'edit_calendar'}, 'intranet');
|
||||
|
||||
my $branchcode = $input->param('branchcode');
|
||||
my $from_branchcode = $input->param('from_branchcode');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue