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

(-)a/admin/authorised_values.pl (-2 / +1 lines)
Lines 54-60 if ($op eq 'add_form') { Link Here
54
    my ( @selected_branches, $category, $av );
54
    my ( @selected_branches, $category, $av );
55
    if ($id) {
55
    if ($id) {
56
        $av = Koha::AuthorisedValues->new->find( $id );
56
        $av = Koha::AuthorisedValues->new->find( $id );
57
        @selected_branches = $av->library_limits->as_list;
57
        @selected_branches = $av->library_limits ? $av->library_limits->as_list : ();
58
    } else {
58
    } else {
59
        $category = $input->param('category');
59
        $category = $input->param('category');
60
    }
60
    }
61
- 

Return to bug 23272