oops
authorjohn <john>
Wed, 1 Dec 2004 02:04:34 +0000 (02:04 +0000)
committerjohn <john>
Wed, 1 Dec 2004 02:04:34 +0000 (02:04 +0000)
source/mircoders/localizer/basic/MirBasicTranslationPostingHandler.java

index 43d4718..d7f8eba 100755 (executable)
@@ -79,7 +79,7 @@ public class MirBasicTranslationPostingHandler extends MirBasicChildArticlePosti
     super.finalizeArticle(aRequest, aSession, anArticle);
     anArticle.setFieldValue("is_html", is_html);
     try {
-      anArticle.setFieldValue("to_article_type", new ModuleArticleType(DatabaseArticleType.getInstance()).articleTypeIdForName("translation"));
+      anArticle.setFieldValue("to_article_type", new ModuleArticleType().articleTypeIdForName("translation"));
     }
     catch (Throwable t) {
       throw new SessionFailure(t);