https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29744

--- Comment #15 from Marcel de Rooy <[email protected]> ---
Putting bug 31468 (from myself) in the picture here too:

When running API, we need to look for $ENV{PLACK_ENV}, but the
underscore is not included in the Context sub.

 sub is_psgi_or_plack {
     my $is_psgi_or_plack = 0;
-    if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) {
+    if ( any { /^(psgi|plack)[._]/i } keys %ENV ) {

And note, with unit tests :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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