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

(-)a/C4/Koha.pm (-2 / +1 lines)
Lines 1051-1057 sub GetAuthorisedValueCategories { Link Here
1051
    my $sth = $dbh->prepare("SELECT DISTINCT category FROM authorised_values ORDER BY category");
1051
    my $sth = $dbh->prepare("SELECT DISTINCT category FROM authorised_values ORDER BY category");
1052
    $sth->execute;
1052
    $sth->execute;
1053
    my @results;
1053
    my @results;
1054
    while (my $category = $sth->fetchrow_array) {
1054
    while (defined (my $category  = $sth->fetchrow_array) ) {
1055
        push @results, $category;
1055
        push @results, $category;
1056
    }
1056
    }
1057
    return \@results;
1057
    return \@results;
1058
- 

Return to bug 6082