View | Details | Raw Unified | Return to bug 14627
Collapse All | Expand All

(-)a/C4/Koha.pm (-1 / +3 lines)
Lines 1257-1262 by the passed category and code Link Here
1257
1257
1258
sub GetAuthorisedValueByCode {
1258
sub GetAuthorisedValueByCode {
1259
    my ( $category, $authvalcode, $opac ) = @_;
1259
    my ( $category, $authvalcode, $opac ) = @_;
1260
    if (!defined $authvalcode) {
1261
        return;
1262
    }
1260
1263
1261
    my $field = $opac ? 'lib_opac' : 'lib';
1264
    my $field = $opac ? 'lib_opac' : 'lib';
1262
    my $dbh = C4::Context->dbh;
1265
    my $dbh = C4::Context->dbh;
1263
- 

Return to bug 14627