View | Details | Raw Unified | Return to bug 28464
Collapse All | Expand All

(-)a/C4/SIP/ILS.pm (-8 / +1 lines)
Lines 365-377 sub cancel_hold { Link Here
365
		return $trans;
365
		return $trans;
366
	}
366
	}
367
    # Remove the hold from the patron's record first
367
    # Remove the hold from the patron's record first
368
    $trans->ok($patron->drop_hold($item_id));	# different than the transaction drop!
368
    $patron->drop_hold($item_id); # different than the transaction drop!
369
370
    unless ($trans->ok) {
371
		# We didn't find it on the patron record
372
		$trans->screen_msg("No such hold on patron record.");
373
		return $trans;
374
    }
375
369
376
    # Now, remove it from the item record.  If it was on the patron
370
    # Now, remove it from the item record.  If it was on the patron
377
    # record but not on the item record, we'll treat that as success.
371
    # record but not on the item record, we'll treat that as success.
378
- 

Return to bug 28464