@@ -, +, @@
FAIL tools/calendar.pl
FAIL forbidden patterns
FAIL critic
FAIL koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
FAIL forbidden patterns
---
.../intranet-tmpl/prog/en/includes/tools-menu.inc | 2 +-
tools/calendar.pl | 22 ++++++++++----------
2 files changed, 12 insertions(+), 12 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
@@ -87,7 +87,7 @@
Additional tools
[% IF ( CAN_user_tools_edit_calendar ) %]
- - Calendar
+ - Calendar
[% END %]
[% IF ( CAN_user_tools_manage_csv_profiles ) %]
- CSV profiles
--- a/tools/calendar.pl
+++ a/tools/calendar.pl
@@ -2,18 +2,18 @@
# This file is part of Koha.
#
-# Koha is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or (at your option) any later
-# version.
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
#
-# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
-# You should have received a copy of the GNU General Public License along with
-# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA 02111-1307 USA
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see .
#####Sets holiday periods for each branch. Datedues will be extended if branch is closed -TG
@@ -123,7 +123,7 @@ if ( $op eq 'save' ) {
( $close_hour, $close_minute ) = ( $input->param( 'closeTime' ) =~ /(0?[0-9]|1[0-9]|2[0-3]):([0-5][0-9])/ );
}
- foreach our $branchcode ( @branches ) {
+ foreach my $branchcode ( @branches ) {
my %event_types = (
'single' => sub {
ModSingleEvent( $branchcode, $date, {
--