From 0517ba32aeb4cff26396b4c7cdcb73a15c87ae95 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 22 Mar 2012 12:19:55 +0100 Subject: [PATCH] Bug 7796 - C4/VirtualShelves.pm needs globally scoped $dbh for plack otherwise, we get a lot of "MySQL server has gone away" error messages --- C4/VirtualShelves.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/VirtualShelves.pm b/C4/VirtualShelves.pm index 85dbc9f..a37db41 100644 --- a/C4/VirtualShelves.pm +++ b/C4/VirtualShelves.pm @@ -54,7 +54,7 @@ BEGIN { } -my $dbh = C4::Context->dbh; +our $dbh = C4::Context->dbh; =head1 NAME -- 1.7.2.5