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

(-)a/opac/opac-memberentry.pl (-2 / +1 lines)
Lines 162-168 if ( $action eq 'create' ) { Link Here
162
            borrower       => \%borrower
162
            borrower       => \%borrower
163
        );
163
        );
164
        $template->param( patron_attribute_classes => GeneratePatronAttributesForm( undef, $attributes ) );
164
        $template->param( patron_attribute_classes => GeneratePatronAttributesForm( undef, $attributes ) );
165
    } elsif ( $libraries->find($borrower{branchcode}) ) {
165
    } elsif ( !$libraries->find($borrower{branchcode}) ) {
166
        die "Branchcode not allowed"; # They hack the form
166
        die "Branchcode not allowed"; # They hack the form
167
    }
167
    }
168
    else {
168
    else {
169
- 

Return to bug 29859