projects
/
srvgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 13223: Plugin housekeeping: do not redefine wrapper
[srvgit]
/
Koha
/
Calendar.pm
diff --git
a/Koha/Calendar.pm
b/Koha/Calendar.pm
index
f982ff4
..
6013a25
100644
(file)
--- a/
Koha/Calendar.pm
+++ b/
Koha/Calendar.pm
@@
-167,6
+167,8
@@
sub addDays {
my ( $self, $startdate, $days_duration ) = @_;
my $base_date = $startdate->clone();
+ $self->{days_mode} ||= q{};
+
if ( $self->{days_mode} eq 'Calendar' ) {
# use the calendar to skip all days the library is closed
# when adding