Bug 20590: Improve Koha::Exceptions in string context
[koha.git] / tools / automatic_item_modification_by_age.pl
index 49673fc..12a1c00 100755 (executable)
@@ -41,6 +41,7 @@ use C4::Output;
 use C4::Koha;
 
 use Koha::Items;
+use Koha::Biblioitems;
 
 my $cgi = new CGI;
 
@@ -109,7 +110,7 @@ if ( $@ ) {
 }
 
 my @item_fields = map { "items.$_" } Koha::Items->columns;
-my @biblioitem_fields = map { "biblioitems.$_" } C4::Items::biblioitems_columns;
+my @biblioitem_fields = map { "biblioitems.$_" } Koha::Biblioitems->columns;
 $template->param(
     op => $op,
     messages => \@messages,