ffzg/recall_notices.pl: added --interval and --dedup
[koha.git] / catalogue / updateitem.pl
index f06dfed..7924b2b 100755 (executable)
@@ -44,7 +44,7 @@ my $confirm=$cgi->param('confirm');
 my $dbh = C4::Context->dbh;
 
 # get the rest of this item's information
-my $item_data_hashref = GetItem($itemnumber, undef);
+my $item_data_hashref = Koha::Items->find($itemnumber)->unblessed;
 
 # make sure item statuses are set to 0 if empty or NULL
 for ($damaged,$itemlost,$withdrawn) {