From 4b52288f319f3341fae44c3df3b3445f1e7afad2 Mon Sep 17 00:00:00 2001 From: Rafal Kopaczka Date: Wed, 15 May 2013 16:19:05 +0200 Subject: [PATCH] Bug 4173 - Statuses not appearing in the OPAC Simply revert order of 2 lines in Items.pm. Previous line write to variable used in next line as function argument. --- C4/Items.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 9283b5c..2d2c62c 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1284,8 +1284,8 @@ sub GetItemsInfo { # get restricted status and description if applicable if ( my $code = C4::Koha::GetAuthValCode( 'items.restricted', $data->{frameworkcode} ) ) { - $data->{restricted} = C4::Koha::GetKohaAuthorisedValueLib( $code, $data->{restricted} ); $data->{restrictedopac} = C4::Koha::GetKohaAuthorisedValueLib( $code, $data->{restricted}, 1 ); + $data->{restricted} = C4::Koha::GetKohaAuthorisedValueLib( $code, $data->{restricted} ); } # my stack procedures -- 1.7.2.5