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

(-)a/Koha/Object.pm (-2 / +2 lines)
Lines 638-644 sub from_api_mapping { Link Here
638
638
639
    my $to_api_mapping = $self->to_api_mapping;
639
    my $to_api_mapping = $self->to_api_mapping;
640
640
641
    unless ( $self->{_from_api_mapping} ) {
641
    unless ( defined $self->{_from_api_mapping} ) {
642
        $self->{_from_api_mapping} = {};
642
        while (my ($key, $value) = each %{ $to_api_mapping } ) {
643
        while (my ($key, $value) = each %{ $to_api_mapping } ) {
643
            $self->{_from_api_mapping}->{$value} = $key
644
            $self->{_from_api_mapping}->{$value} = $key
644
                if defined $value;
645
                if defined $value;
645
- 

Return to bug 28744