Index: openacs-4/packages/project-manager/www/tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/tasks.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/packages/project-manager/www/tasks.tcl 23 Dec 2006 16:32:15 -0000 1.15 +++ openacs-4/packages/project-manager/www/tasks.tcl 19 Feb 2007 15:55:48 -0000 1.16 @@ -60,6 +60,11 @@ set package_id [ad_conn package_id] set user_id [ad_maybe_redirect_for_registration] +# If no instance ID is passed in, default to the package_id +if {$instance_id eq ""} { + set instance_id $package_id +} + # If we are in .LRN, then filter by package_id. This is actually a crude hack... if {[expr [string match "/dotlrn/*" [ad_conn url]]]} { set com_id [dotlrn_community::get_community_id]