fixed / clean ups
[mir.git] / source / mircoders / module / ModuleArticleType.java
index 85b1a1a..8a12767 100755 (executable)
@@ -44,12 +44,12 @@ public class ModuleArticleType extends AbstractModule {
     if (theStorage == null)
       logger.warn("ModuleArticleType -- StorageObject was null!");
 
-    this.theStorage = theStorage;
+    this.storage = theStorage;
   }
 
   public String articleTypeIdForName(String aName) throws ModuleExc, ModuleFailure {
     try {
-      return theStorage.executeFreeSingleValueSql("select id from article_type where name = '" + JDBCStringRoutines.escapeStringLiteral(aName) + "'");
+      return storage.executeFreeSingleValueSql("select id from article_type where name = '" + JDBCStringRoutines.escapeStringLiteral(aName) + "'");
     }
     catch (Throwable t) {
       throw new ModuleFailure(t);