Commit f87239a6 authored by Sebastien Robin's avatar Sebastien Robin

fixed a variable name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11766 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb8d2a54
...@@ -89,7 +89,7 @@ def Object_hasRelation(object):\n ...@@ -89,7 +89,7 @@ def Object_hasRelation(object):\n
# Check if there is some related objets.\n # Check if there is some related objets.\n
result = 0\n result = 0\n
for o in object.getIndexableChildValueList():\n for o in object.getIndexableChildValueList():\n
for related in object.portal_categories.getRelatedValueList(object):\n for related in object.portal_categories.getRelatedValueList(o):\n
if related.getRelativeUrl().startswith(object.getRelativeUrl()):\n if related.getRelativeUrl().startswith(object.getRelativeUrl()):\n
continue\n continue\n
elif related.getRelativeUrl().startswith(\'portal_simulation\') :\n elif related.getRelativeUrl().startswith(\'portal_simulation\') :\n
......
221 223
\ No newline at end of file \ No newline at end of file
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