http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11302

--- Comment #2 from Jonathan Druart <[email protected]> ---
Created attachment 23154
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23154&action=edit
Bug 11302: Template::output should deal with objects

if a ref is not HASH or ARRAY, C4::Template::output assumes it is a
scalar. Which is wrong, it could be an object.

At least the member 'description' of the C4::Category object should be
encoded.

Test plan:
Before applying the patch
- translate a template for a language
- create a patron category with a no-ASCII character
- got the patron home page and select the translated language
- you should see a broken encoding
Apply the patch
- refresh the page
- all looks good now

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to