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

(-)a/opac/opac-memberentry.pl (-8 / +1 lines)
Lines 272-284 elsif ( $action eq 'update' ) { Link Here
272
            $borrower_changes{borrowernumber} = $borrowernumber;
272
            $borrower_changes{borrowernumber} = $borrowernumber;
273
            $borrower_changes{extended_attributes} = to_json($extended_attributes_changes);
273
            $borrower_changes{extended_attributes} = to_json($extended_attributes_changes);
274
274
275
            # FIXME update the following with
275
            my $patron_modifications = Koha::Patron::Modifications->search({ borrowernumber => $borrowernumber })->delete;
276
            # Koha::Patron::Modifications->search({ borrowernumber => $borrowernumber })->delete;
277
            # when bug 17091 will be pushed
278
            my $patron_modifications = Koha::Patron::Modifications->search({ borrowernumber => $borrowernumber });
279
            while ( my $patron_modification = $patron_modifications->next ) {
280
                $patron_modification->delete;
281
            }
282
276
283
            my $m = Koha::Patron::Modification->new( \%borrower_changes )->store();
277
            my $m = Koha::Patron::Modification->new( \%borrower_changes )->store();
284
278
285
- 

Return to bug 19989