iro/model/decorators.py
branchdevel
changeset 208 5da0f00ef872
parent 205 02ae72e8bab9
child 209 7a0f8fbdf7b8
--- a/iro/model/decorators.py	Fri Mar 02 03:01:46 2012 +0100
+++ b/iro/model/decorators.py	Fri Mar 02 03:14:01 2012 +0100
@@ -35,7 +35,7 @@
 
 @dbdefer
 def vTyp(value,field, session):
-    for typ in session.typs:
+    for typ in Offer.typs(session):
         if value == typ[0]:
             break
     else: