diff --git a/C4/Tags.pm b/C4/Tags.pm index 9b3f4dcebe..44701becd4 100644 --- a/C4/Tags.pm +++ b/C4/Tags.pm @@ -22,6 +22,8 @@ use Modern::Perl; use base 'Exporter'; use C4::Context; +use Module::Load::Conditional qw( check_install ); + BEGIN { our @EXPORT_OK = qw( get_tags get_tag_rows @@ -54,7 +56,6 @@ BEGIN { use Carp qw( carp ); -use Module::Load::Conditional qw( check_install ); use Koha::Tags; use Koha::Tags::Approvals; use Koha::Tags::Indexes;