Bugfix while optimizing back references.
This commit is contained in:
parent
a52c6e0ffd
commit
cbb77e0224
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue