web/views/massmailing.py
changeset 2664 1578e1a57828
parent 2661 f8df42c9da6b
child 3377 dd9d292b6a6d
child 3506 f0ec5d17f470
--- a/web/views/massmailing.py	Mon Aug 03 16:33:27 2009 +0200
+++ b/web/views/massmailing.py	Mon Aug 03 16:50:22 2009 +0200
@@ -68,7 +68,7 @@
     def get_allowed_substitutions(self):
         attrs = []
         for coltype in self.rset.column_types(0):
-            eclass = self.vreg.etype_class(coltype)
+            eclass = self.vreg['etypes'].etype_class(coltype)
             attrs.append(eclass.allowed_massmail_keys())
         return sorted(reduce(operator.and_, attrs))