Commits

Shlomi Fish committed d89c378

Fix a bug with the LoadModule loop.

Used $_ instead of $mod_name.

Comments (0)

Files changed (1)

         # Admin is static and is installed manually above, so skip it.
         next if $mod_name eq 'Admin'; 
 
-        my $result = LoadModule($_);
+        my $result = LoadModule($mod_name);
 
         if (ref($result)) {
-            debug("loaded $_");
+            debug("loaded $mod_name");
         } else {
-            debug("failed to load $_", $result);
+            debug("failed to load $mod_name", $result);
         }
     }