web/views/boxes.py
branchtls-sprint
changeset 1539 b0d583d30508
parent 1533 bcd4bfff658b
child 1540 996355824825
--- a/web/views/boxes.py	Wed Apr 29 11:49:19 2009 +0200
+++ b/web/views/boxes.py	Wed Apr 29 11:53:08 2009 +0200
@@ -53,7 +53,7 @@
                     else:
                         X, Y = tschema, eschema
                         card = rschema.rproperty(X, Y, 'cardinality')[1]
-                    if not cls.rmode.rtag(rschema, role, X, Y):
+                    if not cls.rmode.get(rschema, role, X, Y):
                         if card in '?1':
                             # by default, suppose link mode if cardinality doesn't allow
                             # more than one relation