Bugfix while optimizing back references.

This commit is contained in:
Gaetan Delannay 2010-03-09 15:22:33 +01:00
parent a52c6e0ffd
commit cbb77e0224

View file

@ -952,7 +952,7 @@ class AbstractMixin:
res = None res = None
if objs: if objs:
res = objs[0] res = objs[0]
if not ploneObjects: if res and not ploneObjects:
res = res.appy() res = res.appy()
else: else:
res = objs res = objs