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

--- Comment #2 from M. Tompsett <[email protected]> ---
Comment on attachment 48549
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48549
Bug 15958 - ZOOM/Zebra-connection cache flushing

Review of attachment 48549:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15958&attachment=48549)
-----------------------------------------------------------------

::: C4/Context.pm
@@ +788,5 @@
> +
> +=cut
> +
> +sub flushZconns {
> +     my @ZconnKeys = keys%{$context->{"Zconn"}} if ref($context->{"Zconn"}) 
> eq 'HASH';

Not sure how to trigger, but if $context->{"Zconn"} is undefined or not a HASH,
then @ZconnKeys doesn't get defined, which will break the loop. Split
declarations from conditional initializations.

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