Commit c97b0549 authored by Sebastien Robin's avatar Sebastien Robin

fixed an undefined variable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3729 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e461af75
...@@ -346,7 +346,7 @@ class SQLDict(RAMDict): ...@@ -346,7 +346,7 @@ class SQLDict(RAMDict):
def _validate_after_path(self, activity_tool, message, value): def _validate_after_path(self, activity_tool, message, value):
# Count number of occurances of path # Count number of occurances of path
if type(path) == type(''): if type(value) == type(''):
value = [value] value = [value]
result = activity_tool.SQLDict_validateMessageList(method_id=None, message_uid=None, path=value) result = activity_tool.SQLDict_validateMessageList(method_id=None, message_uid=None, path=value)
if result[0].uid_count > 0: if result[0].uid_count > 0:
......
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