From fd9a1a9cfb34d7a88bc1ed0e8e9a68a983afc685 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 Signed-off-by: Martin Renvoize --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 2de66f96a8..a8707d7cf4 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -378,7 +378,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 ( C4::Context->preference("LocalCoverImages") == 1 ) { $item->{cover_images} = $item_object->cover_images; -- 2.20.1