Bugfix while optimizing back references.
This commit is contained in:
parent
a52c6e0ffd
commit
cbb77e0224
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue