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

(-)a/Koha/Object.pm (-3 / +3 lines)
Lines 918-925 sub AUTOLOAD { Link Here
918
                return $self->_result()->get_column($method);
918
                return $self->_result()->get_column($method);
919
            }
919
            }
920
        };
920
        };
921
        no strict 'refs';
921
        # No need for disabling strict if we do it like this:
922
        *{$AUTOLOAD} = $accessor;
922
        my $symbols = \%main::;
923
        $symbols->{__PACKAGE__}{$method} = $accessor;
923
        return $accessor->( $self, @_ );
924
        return $accessor->( $self, @_ );
924
    }
925
    }
925
926
926
- 

Return to bug 33745