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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (+5 lines)
Lines 90-95 Link Here
90
                [% IF ERROR.borrowernumber %] (for patron with borrowernumber [% ERROR.borrowernumber %])[% END %]
90
                [% IF ERROR.borrowernumber %] (for patron with borrowernumber [% ERROR.borrowernumber %])[% END %]
91
            </li>
91
            </li>
92
        [% END %]
92
        [% END %]
93
        [% IF ERROR.duplicate_userid %]
94
            <li class="line_error">
95
                Userid [% ERROR.userid %] is already used by another patron or is empty.
96
            </li>
97
        [% END %]
93
    [% END %]
98
    [% END %]
94
    </ul>
99
    </ul>
95
    </div>
100
    </div>
(-)a/tools/import_borrowers.pl (-1 / +7 lines)
Lines 253-258 if ( $uploadborrowers && length($uploadborrowers) > 0 ) { Link Here
253
            next;
253
            next;
254
        }
254
        }
255
255
256
        # generate a proper login if none provided
257
        if ( $borrower{userid} eq '' || !Check_Userid( $borrower{userid} ) ) {
258
            push @errors, { duplicate_userid => 1, userid => $borrower{userid} };
259
            $invalid++;
260
            next LINE;
261
        }
262
256
263
257
        if ($borrowernumber) {
264
        if ($borrowernumber) {
258
            # borrower exists
265
            # borrower exists
259
- 

Return to bug 15840