Index: openacs-4/contrib/packages/project-manager/tcl/task-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/tcl/Attic/task-procs.tcl,v diff -u -r1.4.2.37 -r1.4.2.38 --- openacs-4/contrib/packages/project-manager/tcl/task-procs.tcl 5 Jan 2005 16:08:14 -0000 1.4.2.37 +++ openacs-4/contrib/packages/project-manager/tcl/task-procs.tcl 29 Mar 2005 10:37:18 -0000 1.4.2.38 @@ -799,8 +799,12 @@ ad_proc -public pm::task::get_url { object_id } { - set url [pm::util::url] + + set package_id [db_string pm_package_id "select package_id from cr_folders cf, cr_items ci1, cr_items ci2 where cf.folder_id = ci1.parent_id and ci1.item_id = ci2.parent_id and ci2.item_id = :object_id"] + set url "[ad_url]" + append url [site_node::get_url_from_object_id -object_id $package_id] + set package_url "${url}task-one?task_id=$object_id" return $package_url