diff --git a/Koha/Patron.pm b/Koha/Patron.pm index f5d4aaf8ac..4242658338 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1609,6 +1609,7 @@ Return all the historical holds for this patron sub old_holds { my ($self) = @_; my $old_holds_rs = $self->_result->old_reserves->search( {}, { order_by => 'reservedate' } ); + require Koha::Old::Holds; return Koha::Old::Holds->_new_from_dbic($old_holds_rs); }