[Koha-bugs] [Bug 10074] Encoding problems in (some) templates output

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 19 11:32:15 CEST 2013


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

--- Comment #13 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Tomas,
I am wondering if you should "Use" the Output module in Auth.pm.
You only need the module if the login fails.
So you could require it at that moment in run-time (without the additional
import when using a file).
The use statement will always require Output at compile-time. So in terms of
performance it would be better to require. 

In other words, what about this in C4/Auth.pm:

    require C4::Output;
    C4::Output::output_html_with_http_headers( $query, $cookie,
$template->output);

What do you think?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list