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

(-)a/Koha/Patrons/Import.pm (-1 / +1 lines)
Lines 404-409 sub prepare_columns { Link Here
404
    foreach my $keycol (@csvcolumns) {
404
    foreach my $keycol (@csvcolumns) {
405
        # columnkeys don't contain whitespace, but some stupid tools add it
405
        # columnkeys don't contain whitespace, but some stupid tools add it
406
        $keycol =~ s/ +//g;
406
        $keycol =~ s/ +//g;
407
        $keycol =~ s/^\N{BOM}//; # Strip BOM if exists, otherwise it will be part of first column key
407
        $params->{keycol}->{$keycol} = $col++;
408
        $params->{keycol}->{$keycol} = $col++;
408
    }
409
    }
409
410
410
- 

Return to bug 24330