@@ -, +, @@ --- misc/migration_tools/fix_onloan.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/misc/migration_tools/fix_onloan.pl +++ a/misc/migration_tools/fix_onloan.pl @@ -10,7 +10,7 @@ use Koha::Items; # and put it in the MARC::Record of the item # -my $items = Koha::Items->({ onloan => { '!=' => undef } }); +my $items = Koha::Items->search({ onloan => { '!=' => undef } }); $|=1; while ( my $item = $items->next ) { --