From c97b054950431ee3bb659bf02e5b32af316e1b23 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 2 Sep 2005 12:48:43 +0000
Subject: [PATCH] fixed an undefined variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3729 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/CMFActivity/Activity/SQLDict.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/CMFActivity/Activity/SQLDict.py b/product/CMFActivity/Activity/SQLDict.py
index 87cdfc9c6c..8bb236a181 100755
--- a/product/CMFActivity/Activity/SQLDict.py
+++ b/product/CMFActivity/Activity/SQLDict.py
@@ -346,7 +346,7 @@ class SQLDict(RAMDict):
 
   def _validate_after_path(self, activity_tool, message, value):
     # Count number of occurances of path
-    if type(path) == type(''):
+    if type(value) == type(''):
       value = [value]
     result = activity_tool.SQLDict_validateMessageList(method_id=None, message_uid=None, path=value)
     if result[0].uid_count > 0:
-- 
2.30.9