[Koha-bugs] [Bug 8868] ILS-DI: CancelHold needs to take a reserve_id

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 30 12:45:49 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8868

Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin.rokseth at kul.oslo.k
                   |                            |ommune.no

--- Comment #19 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
ilsdi.pl?service=CancelHold&patron_id=114&item_id=47

("47" was the reserve_id of a hold)

Got the following error :

Can't use string ("1974687") as a HASH ref while "strict refs" in use at
/usr/local/src/kohaclone/C4/Reserves.pm line 1724.

points to :
sub _FixPriority {
    my ( $params ) = @_;
    my $reserve_id = $params->{reserve_id};      <<<

1974687 was here the biblionumber, not the reserve_id.

The hold is correctly deleted, though.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list