Index: openacs-4/packages/cms/www/modules/templates/template-create.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/templates/template-create.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/cms/www/modules/templates/template-create.tcl 19 Aug 2002 04:19:45 -0000 1.5 +++ openacs-4/packages/cms/www/modules/templates/template-create.tcl 16 May 2005 22:59:24 -0000 1.6 @@ -6,7 +6,7 @@ # Cannot use -value due to negative values if { [template::util::is_nil parent_id] } { - set parent_id [cm::modules::templates::getRootFolderID] + set parent_id [cm::modules::templates::getRootFolderID [ad_conn package_id]] } set folder_name [db_string get_folder_name "" -default ""] @@ -43,7 +43,7 @@ set ip_address [ns_conn peeraddr] if { [util::is_nil parent_id] } { - set parent_id [cm::modules::templates::getRootFolderID] + set parent_id [cm::modules::templates::getRootFolderID [ad_conn package_id]] } db_transaction {