Index: openacs-4/packages/bug-tracker/sql/postgresql/bug-tracker-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/sql/postgresql/bug-tracker-create.sql,v
diff -u -r1.16 -r1.17
--- openacs-4/packages/bug-tracker/sql/postgresql/bug-tracker-create.sql	26 Jun 2008 22:09:10 -0000	1.16
+++ openacs-4/packages/bug-tracker/sql/postgresql/bug-tracker-create.sql	26 Jun 2008 23:55:30 -0000	1.17
@@ -124,7 +124,7 @@
     from   bt_projects
     where  project_id = p_project_id;
 
-    if v_workflow_id not null then
+    if v_workflow_id is not null then
       perform workflow__delete(v_workflow_id);
     end if;
 
