import rt 3.8.11
[freeside.git] / rt / lib / RT / Base.pm
index 3970850..c7fc66e 100644 (file)
@@ -168,8 +168,8 @@ sub _ImportOverlays {
     my $class = shift;
     my ($package,undef,undef) = caller();
     $package =~ s|::|/|g;
-    for (qw(Overlay Vendor Local)) {
-        my $filename = $package."_".$_.".pm";
+    for my $type (qw(Overlay Vendor Local)) {
+        my $filename = $package."_".$type.".pm";
         eval { require $filename };
         die $@ if ($@ && $@ !~ qr{^Can't locate $filename});
     }