X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=tools%2Fautomatic_item_modification_by_age.pl;h=12a1c006e1d2a1de9c44bfeaef7dd1ba271414b8;hb=74e0dfb4376c971d916299827aca1d65cd0852a1;hp=49673fc9fdf7cec49b03a6c0e8a17c5e1bf31dc8;hpb=e6aa7d65dab9bfbe2dc616e3a1180f647888ceff;p=koha.git diff --git a/tools/automatic_item_modification_by_age.pl b/tools/automatic_item_modification_by_age.pl index 49673fc9fd..12a1c006e1 100755 --- a/tools/automatic_item_modification_by_age.pl +++ b/tools/automatic_item_modification_by_age.pl @@ -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,