[Koha-bugs] [Bug 13719] Make Koha::Objects store list of resultant objects on an as needed basis
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 22 07:14:54 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13719
--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 36022
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36022
Bug 13719 - Make Koha::Objects store list of resultant objects on an as needed
basis
Review of attachment 36022:
--> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13719&attachment=36022)
-----------------------------------------------------------------
Is there some default behaviour that I'm unaware of in terms of attempting to
access something past the boundary of a list?
::: Koha/Objects.pm
@@ +140,4 @@
> sub next {
> my ( $self ) = @_;
>
> + my $object = $self->_objects()->[ $self->{_iterator}++ ];
No boundary check?!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list