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

(-)a/admin/branches.pl (-2 / +1 lines)
Lines 87-93 if ( $op eq 'add_form' ) { Link Here
87
    if ($is_a_modif) {
87
    if ($is_a_modif) {
88
        my $library = Koha::Libraries->find($branchcode);
88
        my $library = Koha::Libraries->find($branchcode);
89
        for my $field (@fields) {
89
        for my $field (@fields) {
90
            if ( $field eq 'pickup_location' ) {
90
            if( $field =~ /^(pickup_location|public)$/  ) {
91
                # Don't fallback to undef/NULL, default is 1 in DB
91
                # Don't fallback to undef/NULL, default is 1 in DB
92
                $library->$field( scalar $input->param($field) );
92
                $library->$field( scalar $input->param($field) );
93
            } else {
93
            } else {
94
- 

Return to bug 31785