Index: openacs-4/packages/contacts/www/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/index.vuh,v diff -u -r1.9 -r1.10 --- openacs-4/packages/contacts/www/index.vuh 21 Oct 2005 10:55:30 -0000 1.9 +++ openacs-4/packages/contacts/www/index.vuh 23 Oct 2005 10:47:08 -0000 1.10 @@ -18,15 +18,15 @@ set action [lindex $file_list 1] - if { $party_is_contact_p } { if { [llength $file_list] == "1" } { # we need to redirect the user to their "correct" summary page otherwise # sub links will not work correctly ad_returnredirect "[ad_conn package_url]${party_id}/" ad_script_abort } - set valid_pages [list "" edit files groups relationships comments message history changes] + set valid_pages [list "" edit files groups relationships comments message history changes mail-tracking] + if { [lsearch $valid_pages $action] >= 0 && [llength $file_list] == "2" } { switch $action { edit { set file "contact-edit" } @@ -43,6 +43,7 @@ mail-tracking { set file "mail-tracking" } default { set file [parameter::get -parameter "ContactSummaryViewTemplate" -default "/packages/contacts/www/contact"] } } + set form_supplied_party_id [ns_queryget party_id] if { [exists_and_not_null form_supplied_party_id] } { if { $form_supplied_party_id != $party_id } {