web/formfields.py
changeset 4069 5d149ba65dd0
parent 4044 3876c894e018
child 4101 7fa86fa51229
--- a/web/formfields.py	Wed Dec 09 09:53:41 2009 +0100
+++ b/web/formfields.py	Tue Dec 08 18:12:31 2009 +0100
@@ -587,7 +587,7 @@
     if role == 'subject':
         targetschema = rdef.object
         if rschema.final:
-            if rdef.internationalizable:
+            if rdef.get('internationalizable'):
                 kwargs.setdefault('internationalizable', True)
             def get_default(form, es=eschema, rs=rschema):
                 return es.default(rs)