View | Details | Raw Unified | Return to bug 12801
Collapse All | Expand All

(-)a/Koha/Calendar.pm (-5 lines)
Lines 92-101 sub single_holidays { Link Here
92
    my ( $self ) = @_;
92
    my ( $self ) = @_;
93
    my $dbh = C4::Context->dbh;
93
    my $dbh = C4::Context->dbh;
94
    my $branch = $self->{branchcode};
94
    my $branch = $self->{branchcode};
95
    if ( $single_holidays ) {
96
        $self->{single_holidays} = $single_holidays;
97
        return $single_holidays;
98
    }
99
    my $single_holidays_sth = $dbh->prepare(
95
    my $single_holidays_sth = $dbh->prepare(
100
'SELECT day, month, year FROM special_holidays WHERE branchcode = ? AND isexception = 0'
96
'SELECT day, month, year FROM special_holidays WHERE branchcode = ? AND isexception = 0'
101
    );
97
    );
102
- 

Return to bug 12801