Index: openacs-4/packages/curriculum-portlet/www/curriculum-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum-portlet/www/curriculum-portlet.adp,v diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- openacs-4/packages/curriculum-portlet/www/curriculum-portlet.adp 16 Jun 2003 22:24:04 -0000 1.1.1.1 +++ openacs-4/packages/curriculum-portlet/www/curriculum-portlet.adp 2 Dec 2003 16:02:12 -0000 1.1.1.1.2.1 @@ -1,6 +1,17 @@ + + + + + + + + + + +   Index: openacs-4/packages/curriculum-portlet/www/curriculum-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum-portlet/www/curriculum-portlet.tcl,v diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- openacs-4/packages/curriculum-portlet/www/curriculum-portlet.tcl 16 Jun 2003 22:24:04 -0000 1.1.1.1 +++ openacs-4/packages/curriculum-portlet/www/curriculum-portlet.tcl 2 Dec 2003 16:02:12 -0000 1.1.1.1.2.1 @@ -13,10 +13,6 @@ set shaded_p $config(shaded_p) set list_of_package_ids $config(package_id) +set one_instance_p [ad_decode [llength $list_of_package_ids] 1 1 0] -if {[llength $list_of_package_ids] > 1} { - # We have a problem! - return -code error "There should be only one instance of curriculum for admin purposes" -} - ad_return_template