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

(-)a/Koha/Patrons/Import.pm (-3 / +2 lines)
Lines 331-337 sub import_patrons { Link Here
331
                            }
331
                            }
332
                        }
332
                        }
333
                    }
333
                    }
334
                    if ($extended) {
334
                    if ($extended && @$patron_attributes) {
335
                        if ($ext_preserve) {
335
                        if ($ext_preserve) {
336
                            $patron_attributes = $patron->extended_attributes->merge_and_replace_with( $patron_attributes );
336
                            $patron_attributes = $patron->extended_attributes->merge_and_replace_with( $patron_attributes );
337
                        }
337
                        }
Lines 391-397 sub import_patrons { Link Here
391
                        );
391
                        );
392
                    }
392
                    }
393
393
394
                    if ($extended) {
394
                    if ($extended && @$patron_attributes) {
395
                        # FIXME Hum, we did not filter earlier and now we do?
395
                        # FIXME Hum, we did not filter earlier and now we do?
396
                        $patron->extended_attributes->filter_by_branch_limitations->delete;
396
                        $patron->extended_attributes->filter_by_branch_limitations->delete;
397
                        $patron->extended_attributes($patron_attributes);
397
                        $patron->extended_attributes($patron_attributes);
398
- 

Return to bug 31595