Index: openacs-4/packages/organizations/www/add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/organizations/www/add-edit.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/organizations/www/add-edit.tcl 19 Jan 2004 20:31:40 -0000 1.1.2.1 +++ openacs-4/packages/organizations/www/add-edit.tcl 9 Feb 2004 16:10:12 -0000 1.1.2.2 @@ -27,15 +27,19 @@ permission::require_permission \ -object_id $package_id \ -privilege write + + set org_types_used [db_list select_org_types_used { }] + } else { set context_bar [ad_context_bar "New"] permission::require_permission \ -object_id $package_id \ -privilege create + + set org_types_used {} } -set org_types_used [db_list select_org_types_used { }] ad_form -name org -form { organization_id:key