[MERGE]
bzr revid: stephane@tinyerp.com-20090527150036-a2k6ndl0fe6oe8xs
This commit is contained in:
commit
3b394f8d19
|
@ -251,7 +251,7 @@ class expression(object):
|
|||
query = '(%s.%s %s (%s))' % (table._table, left, operator, instr)
|
||||
|
||||
if check_nulls:
|
||||
query = '(%s OR %s IS NULL)' % (query, left)
|
||||
query = '(%s OR %s.%s IS NULL)' % (query, table._table, left)
|
||||
else:
|
||||
params = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue