Permalink
Browse files

Fix error in C4::Context::DESTROY()

  • Loading branch information...
1 parent 012e6bd commit eb6cd431ed8da7aa208f98d3cd484ae4d9deda97 @ctfliblime ctfliblime committed Jul 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 C4/Context.pm
View
@@ -341,7 +341,7 @@ sub new {
sub DESTROY {
my $self = shift;
- for (values ($self->{Zconn} // {})) {
+ for (values %{$self->{Zconn}}) {
$_->destroy();
}
}

0 comments on commit eb6cd43

Please sign in to comment.