From: Bill Erickson Date: Fri, 1 Aug 2014 17:29:41 +0000 (-0400) Subject: CStoreEditor avoid direct Exporter->import invocation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8ab542f1447de02b1692c7bce5011a4ac9070e61;p=working%2FEvergreen.git CStoreEditor avoid direct Exporter->import invocation Exporter provides an export_to_level function to handle this. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm index 995461011c..9f8f5fce3c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm @@ -69,7 +69,8 @@ sub import { } } - return $class->SUPER::import( @super_args ); + # Exporter doesn't like you to call it's import() directly + return $class->export_to_level(1, $class, @super_args); } sub new_editor { return OpenILS::Utils::CStoreEditor->new(@_); }