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

(-)a/tools/import_borrowers.pl (-2 / +4 lines)
Lines 283-289 if ( $uploadborrowers && length($uploadborrowers) > 0 ) { Link Here
283
                $template->param('lastinvalid'=>$borrower{'surname'}.' / '.$borrowernumber);
283
                $template->param('lastinvalid'=>$borrower{'surname'}.' / '.$borrowernumber);
284
                next LINE;
284
                next LINE;
285
            }
285
            }
286
            if ( $borrower{debarred} ) {
286
287
            # Don't add a new restriction if the existing 'combined' restriction matches this one
288
            if ( $borrower{debarred} && ( ( $borrower{debarred} ne $member->{debarred} ) || ( $borrower{debarredcomment} ne $member->{debarredcomment} ) ) ) {
287
                # Check to see if this debarment already exists
289
                # Check to see if this debarment already exists
288
                my $debarrments = GetDebarments(
290
                my $debarrments = GetDebarments(
289
                    {
291
                    {
Lines 303-308 if ( $uploadborrowers && length($uploadborrowers) > 0 ) { Link Here
303
                    );
305
                    );
304
                }
306
                }
305
            }
307
            }
308
306
            if ($extended) {
309
            if ($extended) {
307
                if ($ext_preserve) {
310
                if ($ext_preserve) {
308
                    my $old_attributes = GetBorrowerAttributes($borrowernumber);
311
                    my $old_attributes = GetBorrowerAttributes($borrowernumber);
309
- 

Return to bug 15010