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

(-)a/C4/SIP/ILS.pm (-8 / +1 lines)
Lines 355-367 sub cancel_hold { Link Here
355
		return $trans;
355
		return $trans;
356
	}
356
	}
357
    # Remove the hold from the patron's record first
357
    # Remove the hold from the patron's record first
358
    $trans->ok($patron->drop_hold($item_id));	# different than the transaction drop!
358
    $patron->drop_hold($item_id); # different than the transaction drop!
359
360
    unless ($trans->ok) {
361
		# We didn't find it on the patron record
362
		$trans->screen_msg("No such hold on patron record.");
363
		return $trans;
364
    }
365
359
366
    # Now, remove it from the item record.  If it was on the patron
360
    # Now, remove it from the item record.  If it was on the patron
367
    # record but not on the item record, we'll treat that as success.
361
    # record but not on the item record, we'll treat that as success.
368
- 

Return to bug 28464