Hi, On Fri, Jun 5, 2009 at 8:02 PM, Joe Atzberger<[email protected]> wrote: > + my @page = @$results[ $offset .. $offset+$pagesize-1 ]; # FIXME: limit > and offset should get to the SQL query
This needs work. If @$results has fewer than $pagesize entries, the @page array is padded with undef entries. When H::T::Pro iterates over that loop, it hits the first undef and complains that: stopwords.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/local/lib/perl/5.8.8/HTML/Template/Pro.pm line 191. The resulting HTML also has validation errors. Please fix and resubmit. Regards, Galen -- Galen Charlton VP, Research & Development, LibLime [email protected] p: 1-888-564-2457 x709 skype: gmcharlt _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
