Commit 5a9ddd60 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fix Copy/Paste error in last commit.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1779 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3b491a5d
...@@ -107,7 +107,7 @@ def makeTreeBody(form, root_dict, domain_path, depth, total_depth, unfolded_list ...@@ -107,7 +107,7 @@ def makeTreeBody(form, root_dict, domain_path, depth, total_depth, unfolded_list
domain_path = domain_path[1:] domain_path = domain_path[1:]
else: else:
domain_path = () domain_path = ()
is_empty_level = (root.objectCount() == 0) and (len(report_path) != 0) is_empty_level = (root.objectCount() == 0) and (len(domain_path) != 0)
if is_empty_level: base_category = domain_path[0] if is_empty_level: base_category = domain_path[0]
tree_body = '' tree_body = ''
......
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