Bug 17600: Fix imports for GetClassSources in guided_reports.pl
authorOwen <oleonard@myacpl.org>
Thu, 28 Oct 2021 13:14:06 +0000 (13:14 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Nov 2021 13:27:48 +0000 (14:27 +0100)
This will fix the broken option to use cn_source as a runtime
parameter, e.g. <<Call no. source|cn_source>>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
reports/guided_reports.pl

index 4c926b3..b081954 100755 (executable)
@@ -38,6 +38,7 @@ use Koha::Libraries;
 use Koha::Patron::Categories;
 use Koha::SharedContent;
 use Koha::Util::OpenDocument qw( generate_ods );
+use C4::ClassSource qw( GetClassSources );
 
 =head1 NAME