http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13719

--- Comment #7 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to