http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5248 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Status|NEW |RESOLVED Resolution| |FIXED AssignedTo|oleonard@myacpl.org |m.de.rooy@rijksmuseum.nl --- Comment #2 from M. de Rooy <m.de.rooy@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.