[CMF-checkins] CVS: CMF - WorkflowCore.py:1.4

tseaver@digicool.com tseaver@digicool.com
Mon, 7 May 2001 11:27:08 -0400 (EDT)


Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv2533

Modified Files:
	WorkflowCore.py 
Log Message:
 - Fix typo bug.


--- Updated File WorkflowCore.py in package CMF --
--- WorkflowCore.py	2001/04/05 13:27:19	1.3
+++ WorkflowCore.py	2001/05/07 15:27:07	1.4
@@ -139,7 +139,7 @@
 
 def afterCreate(ob):
     wf = getToolByName(ob, 'portal_workflow', None)
-    if ob is not None:
+    if wf is not None:
         wf.notifyCreated(ob)
         catalog = getToolByName(ob, 'portal_catalog', None)
         if catalog is not None: