From 238e3d0ac9e54fc8d78c5c3436ea3f0393616e5f Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Fri, 26 Jan 2018 17:08:54 +0100 Subject: [PATCH] variable $col is already available at this point --- modules/util/Util/MongoDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/Util/MongoDB.pm b/modules/util/Util/MongoDB.pm index 522aa59..3a09572 100644 --- a/modules/util/Util/MongoDB.pm +++ b/modules/util/Util/MongoDB.pm @@ -66,7 +66,7 @@ sub attach return $mdb unless (defined ($col_name)); - my $col= $mdb->get_collection ($col_name); + $col= $mdb->get_collection ($col_name); if (defined ($col)) { -- GitLab