fix 'Can't call method "setup" on an undefined value' error when using into rates...
[freeside.git] / FS / FS / Msgcat.pm
index 2406e8d..ce0fa78 100644 (file)
@@ -87,8 +87,8 @@ sub _gettext {
                                        });
         warn "WARNING: auto-inserting message for msgcode $msgcode in locale $locale";
         $newmsgcat->insert;
-        return $msgcode; # or maybe this should be below the next bracket?
     }
+    return $msgcode;
   }
 
 }