entities/wfobjs.py
changeset 4029 e50a6b70c8e4
parent 4024 6a14cff373c3
child 4252 6c4f109c2b03
--- a/entities/wfobjs.py	Tue Dec 08 12:03:10 2009 +0100
+++ b/entities/wfobjs.py	Tue Dec 08 12:03:15 2009 +0100
@@ -247,9 +247,8 @@
             kwargs['x'] = self.eid
             kwargs.setdefault('mainvars', u'X')
             self._cw.execute('INSERT RQLExpression X: X exprtype "ERQLExpression", '
-                             'X expression %(expr)s, T condition X '
-                             'WHERE T eid %(x)s',
-                             'T condition X WHERE T eid %(x)s', kwargs, 'x')
+                             'X expression %(expr)s, X mainvars %(mainvars)s, '
+                             'T condition X WHERE T eid %(x)s',kwargs, 'x')
         # XXX clear caches?