X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FKoha.pm;h=544f3a22a7666e71d0784850bb5bb52c0db90fb2;hb=7b27b9ecb2a8f628af3bbc8f387442a47195f152;hp=dc10a6e5d7659fbfed00f43f01c4c814c7793e5b;hpb=5af80ab9abe609fbd354b70c05ed920a97de63bc;p=koha.git diff --git a/C4/Koha.pm b/C4/Koha.pm index dc10a6e5d7..544f3a22a7 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -1110,7 +1110,7 @@ sub GetKohaAuthorisedValuesFromField { my $dbh = C4::Context->dbh; my $avcode = GetAuthValCodeFromField($field, $subfield, $fwcode); if ($avcode) { - my $sth = $dbh->prepare("select authorised_value, lib, lib_opac from authorised_values where category=? "); + my $sth = $dbh->prepare("select authorised_value, lib from authorised_values where category=? "); $sth->execute($avcode); while ( my ($val, $lib, $lib_opac) = $sth->fetchrow_array ) { $values{$val} = ($opac && $lib_opac) ? $lib_opac : $lib;