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:
Jonathan Druart 2020-03-17 11:37:12 +01:00 committed by Hayley Mapley
parent 54dfd0a0cd
commit f97f271fd2
1 changed files with 2 additions and 0 deletions

View File

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