[Koha-bugs] [Bug 5248] Some descriptions missing in the opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 18 15:21:44 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
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #1 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2010-10-18 13:21:41 UTC ---
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").

-- 
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