[Koha-bugs] [Bug 22497] '0' width can lead to an infinite loop.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 6 04:27:20 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22497
--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #2)
> (In reply to Martin Renvoize from comment #0)
> > Really the line wrapping code looks like it would benefit from a re-write.
>
> Should not we go for a quick fix instead?
> Like last if $width == 0?
I was thinking something like:
last if $text_attribs->{'llx'}) >= $self->{'width'}
Although that's just off the top of my head.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list