From 7beb66af66667b642b04c5299a29264504b36d6a Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Thu, 25 Apr 2019 06:24:38 +0000 Subject: [PATCH] Bug 20256: (QA follow-up) Change meaning should change code Signed-off-by: Bob Bennhoff - CLiC --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index c6e5e2e59f..2dae1fac7f 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -382,7 +382,7 @@ foreach my $item (@items) { $item->{'course_reserves'} = GetItemCourseReservesInfo( itemnumber => $item->{'itemnumber'} ); } - $item->{can_be_edited} = !$patron->can_edit_item( $item_object ); + $item->{can_be_edited} = $patron->can_edit_item( $item_object ); if ($currentbranch and C4::Context->preference('SeparateHoldings')) { if ($itembranchcode and $itembranchcode eq $currentbranch) { -- 2.24.1 (Apple Git-126)