Index: openacs-4/packages/dotlrn-ecommerce/tcl/implementation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/tcl/implementation-procs.tcl,v diff -u -r1.25 -r1.26 --- openacs-4/packages/dotlrn-ecommerce/tcl/implementation-procs.tcl 6 Sep 2005 17:42:29 -0000 1.25 +++ openacs-4/packages/dotlrn-ecommerce/tcl/implementation-procs.tcl 6 Sep 2005 18:03:44 -0000 1.26 @@ -110,7 +110,7 @@ # purchaser if { [lsearch [parameter::get -parameter WelcomeEmailRecipients] purchaser] != -1 } { ns_log Notice "sending email to patron_id $patron_id for user_id $user_id" - if {$patron_id != $user_id} { + if {$patron_id != $participant_id} { # if they are the participant, then # they will get the welcome email for the community dotlrn_community::send_member_email -community_id $community_id -to_user $user_id -type "on join" -email_send_to $patron_id -override_enabled