Commit fb18d3ce authored by Sebastien Robin's avatar Sebastien Robin

corrected a non defined variable name


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2719 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 00a31272
...@@ -878,7 +878,7 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -878,7 +878,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
if o is None: if o is None:
# we first try to reindex the object, thanks to the object_path # we first try to reindex the object, thanks to the object_path
if object_path is not None: if object_path is not None:
o = context.restrictedTraverse(object_path) o = o.getPortalObject().restrictedTraverse(object_path)
if o is not None: if o is not None:
o.immediateReindexObject() o.immediateReindexObject()
object_uid = o.getUid() object_uid = o.getUid()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment