Bug 14245: (QA followup) already global
authorTomas Cohen Arazi <tomascohen@unc.edu.ar>
Wed, 16 Sep 2015 14:51:12 +0000 (11:51 -0300)
committerMason James <mtj@kohaaloha.com>
Fri, 2 Oct 2015 10:42:35 +0000 (23:42 +1300)
The original patch correctly unmasks the global variable (by
removing the 'my' on the marc2ris function, but wrongly introduces
a new global variable.

Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Signed-off-by: Mason James <mtj@kohaaloha.com>

C4/Ris.pm

index 18e2e2e..54e76fc 100644 (file)
--- a/C4/Ris.pm
+++ b/C4/Ris.pm
@@ -87,8 +87,6 @@ C<$record> - a MARC::Record object
 
 =cut
 
-my $intype;
-
 sub marc2ris {
     my ($record) = @_;
     my $output;