From 5fd4e139eb26b7c3c7cb4868b97141fff3c9baf0 Mon Sep 17 00:00:00 2001
From: Alexandre Boeglin <alex@nexedi.com>
Date: Mon, 16 Jul 2007 18:24:43 +0000
Subject: [PATCH] fix typo

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

diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py
index c68d46f556..c9b940bf94 100644
--- a/product/ERP5/ERP5Site.py
+++ b/product/ERP5/ERP5Site.py
@@ -938,7 +938,7 @@ class ERP5Site(FolderMixIn, CMFSite):
     if portal_object._getOb(expected_module_id, None) is not None:
       module_id = expected_module_id
     expected_module_id += '_module'
-    if module is None and portal_object._getOb(expected_module_id, None) \
+    if module_id is None and portal_object._getOb(expected_module_id, None) \
         is not None:
       module_id = expected_module_id
     # then look for module where the type is allowed
-- 
2.30.9