Index: openacs-4/packages/project-manager/tcl/project-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/tcl/project-procs.tcl,v diff -u -r1.30 -r1.31 --- openacs-4/packages/project-manager/tcl/project-procs.tcl 12 Mar 2006 19:15:07 -0000 1.30 +++ openacs-4/packages/project-manager/tcl/project-procs.tcl 21 Mar 2006 17:21:44 -0000 1.31 @@ -2090,7 +2090,7 @@ @error } { - set package_id [db_string package_id "select distinct object_package_id from pm_projectsx where item_id = :project_item_id"] + set package_id [db_string package_id "select package_id from acs_objects where object_id = :project_item_id"] return "[ad_url]/[apm_package_url_from_id $package_id]one?project_item_id=$project_item_id" }