Index: openacs-4/packages/dotlrn/sql/postgresql/site-templates-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/site-templates-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/dotlrn/sql/postgresql/site-templates-create.sql	8 Aug 2006 21:26:22 -0000	1.2
+++ openacs-4/packages/dotlrn/sql/postgresql/site-templates-create.sql	8 Nov 2010 13:17:44 -0000	1.3
@@ -75,7 +75,7 @@
         from portal_element_themes 
 	where name = ''#new-portal.sloan_theme_name#''; 
 
-	select acs_object_id_seq.nextval 
+	select nextval(''t_acs_object_id_seq'')
         into v_site_template_id 
         from dual;
 
