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

(-)a/admin/restrictions.pl (-2 / +1 lines)
Lines 79-85 if ( $op eq 'add_form') { Link Here
79
                type => 'error', code => 'duplicate_code'
79
                type => 'error', code => 'duplicate_code'
80
            };
80
            };
81
        } else {
81
        } else {
82
            my $restriction = Koha::RestrictionType->new({
82
            my $restriction = Koha::Patron::Restriction::Type->new({
83
                code => $code,
83
                code => $code,
84
                display_text => $display_text
84
                display_text => $display_text
85
            });
85
            });
86
- 

Return to bug 23681