From 0045bbcd5d64a100db50a139758fa6d53f174eb2 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 7 Mar 2016 16:19:12 +0100 Subject: [PATCH] Bug 15998 - svc/holds: use holdingbranch instead of holding_branch --- svc/holds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svc/holds b/svc/holds index 50ae385..4744739 100755 --- a/svc/holds +++ b/svc/holds @@ -124,8 +124,8 @@ while ( my $h = $holds_rs->next() ) { $hold->{date_sent} = output_pref( dt_from_string($transferred_when) ); $hold->{from_branch} = GetBranchName($transferred_from); } - elsif ( $item->holding_branch() && $item->holding_branch()->branchcode() ne - $h->branch()->branchcode() ) + elsif ( $item->holdingbranch() && $item->holdingbranch()->branchcode() ne + $h->branchcode()->branchcode() ) { $hold->{not_transferred} = 1; $hold->{not_transferred_by} = $h->item()->holdingbranch()->branchname(); -- 2.1.4