diff -r 2bb628e0cc3b -r 1578e1a57828 web/views/massmailing.py --- 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))