web/views/autoform.py
branchtls-sprint
changeset 1726 08918409815e
parent 1723 30c3a713ab61
child 1739 78b0819162a8
--- a/web/views/autoform.py	Mon May 11 12:03:52 2009 +0200
+++ b/web/views/autoform.py	Mon May 11 16:08:53 2009 +0200
@@ -60,7 +60,7 @@
                         X, Y = tschema, eschema
                         card = rschema.rproperty(X, Y, 'cardinality')[1]
                         composed = rschema.rproperty(X, Y, 'composite') == 'subject'
-                    if not cls.rcategories.get(rschema, role, X, Y):
+                    if not cls.rcategories.get(X, rschema, Y, role):
                         if eschema.is_metadata(rschema):
                             category = 'generated'
                         elif card in '1+':