[Koha-bugs] [Bug 5248] Some descriptions missing in the opac
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 21 09:26:18 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5248
M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |PATCH-Sent
Status|NEW |RESOLVED
Resolution| |FIXED
AssignedTo|oleonard at myacpl.org |m.de.rooy at rijksmuseum.nl
--- Comment #2 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2010-10-21 07:26:16 UTC ---
(In reply to comment #1)
> Thank you for this bug report. We also have this issue.
> The exact cause of the problem is calling functions like GetNormalized... in
> list context. Since they return nothing (in this context an empty list), Perl
> discards this value and the rest of the list shifts one position forward
> resulting in a mixup of the parameters passed to template->param.
> Calling the functions in scalar context before the template->param call as you
> did in the patch solves the problem. You could also force scalar context with a
> scalar statement or adding the test ||'' ("OR empty string").
"Since they return nothing" should of course be: "If they return nothing"
Patch sent for 3.0.x.
This problem is already solved in 3.2
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list