From 0c9a2ee9da5618764067c3e896a3af5553bf7875 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Oct 2016 13:39:09 +0100 Subject: [PATCH] Bug 16965: Allow Koha::Objects->result_class Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall --- Koha/Objects.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Objects.pm b/Koha/Objects.pm index 73d3617088..176821af73 100644 --- a/Koha/Objects.pm +++ b/Koha/Objects.pm @@ -282,7 +282,7 @@ Currently count, pager, reset, update and delete are covered. sub AUTOLOAD { my ( $self, @params ) = @_; - my @known_methods = qw( count pager reset update delete ); + my @known_methods = qw( count pager reset update delete result_class ); my $method = our $AUTOLOAD; $method =~ s/.*:://; -- 2.39.5