Index: openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql,v
diff -u -N -r1.6 -r1.7
--- openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql	24 Mar 2001 00:34:53 -0000	1.6
+++ openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql	8 Apr 2001 11:41:48 -0000	1.7
@@ -267,7 +267,7 @@
   v_pattern_p                   site_nodes.pattern_p%TYPE;
   v_parent_id                   site_nodes.node_id%TYPE;
 begin
-    if node_id is null then
+    if find_pattern__node_id is null then
 --      raise no_data_found;
         raise exception ''NO DATA FOUND'';
     end if;
