https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39152

--- Comment #1 from Jonathan Druart <[email protected]> ---
I don't understand, this is not correct:

% git show d659526b5ae3363de6dc7691a782a45aaf781a46 -- tools/newHolidays.pl

It has been modified by bug 38664.

I have also tried:
perltidy tools/newHolidays.pl
vim tools/newHolidays.pl
:%s/our \$/my $
:x
git diff
diff --git a/tools/newHolidays.pl b/tools/newHolidays.pl
index 9cca4a9bc97..722f86859f4 100755
--- a/tools/newHolidays.pl
+++ b/tools/newHolidays.pl
@@ -33,16 +33,16 @@ my $dbh   = C4::Context->dbh();

 checkauth( $input, 0, { tools => 'edit_calendar' }, 'intranet' );

-our $branchcode = $input->param('newBranchName');
+my $branchcode = $input->param('newBranchName');
 my $originalbranchcode = $branchcode;
-our $weekday = $input->param('newWeekday');
-our $day     = $input->param('newDay');
-our $month   = $input->param('newMonth');
-our $year    = $input->param('newYear');
+my $weekday = $input->param('newWeekday');
+my $day     = $input->param('newDay');
+my $month   = $input->param('newMonth');
+my $year    = $input->param('newYear');
 my $dateofrange = $input->param('dateofrange');
-our $title        = $input->param('newTitle');
-our $description  = $input->param('newDescription');
-our $newoperation = $input->param('newOperation');
+my $title        = $input->param('newTitle');
+my $description  = $input->param('newDescription');
+my $newoperation = $input->param('newOperation');
 my $allbranches = $input->param('allBranches');

 my $first_dt = DateTime->new( year => $year, month => $month, day => $day );

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to