Index: openacs-4/packages/dotlrn-ecommerce/www/admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/admin/index.tcl,v diff -u -N -r1.13 -r1.14 --- openacs-4/packages/dotlrn-ecommerce/www/admin/index.tcl 6 Sep 2006 19:06:51 -0000 1.13 +++ openacs-4/packages/dotlrn-ecommerce/www/admin/index.tcl 19 Apr 2007 16:52:28 -0000 1.14 @@ -30,7 +30,10 @@ # HAM : check if scholarship is installed set scholarship_installed_p [apm_package_installed_p "scholarship-fund"] - +set scholarship_url [site_node::get_children -node_id [ad_conn node_id] -package_key scholarship-fund] +if {![llength $scholarship_url]} { + set scholarship_installed_p 0 +} # HAM : check if expenses is installed set expenses_installed_p [apm_package_installed_p "expenses"]