Index: openacs-4/packages/dotlrn-ecommerce/www/ecommerce/application-request.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/ecommerce/application-request.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/dotlrn-ecommerce/www/ecommerce/application-request.tcl 2 Aug 2005 19:12:19 -0000 1.10 +++ openacs-4/packages/dotlrn-ecommerce/www/ecommerce/application-request.tcl 3 Aug 2005 03:48:19 -0000 1.11 @@ -59,11 +59,14 @@ set body [_ dotlrn-ecommerce.lt_Requested_waiver_of_prereq_1] } - acs_mail_lite::send \ - -to_addr [cc_email_from_party $participant_id] \ - -from_addr $mail_from \ - -subject $subject \ - -body $body + if { [parameter::get -package_id [ad_conn package_id] -parameter NotifyApplicantOnRequest] } { + ns_log notice "DEBUG:: SENDING APPLICATION NOTIFICATION" + acs_mail_lite::send \ + -to_addr [cc_email_from_party $participant_id] \ + -from_addr $mail_from \ + -subject $subject \ + -body $body + } } } ns_log notice "DEBUG:: RELATION $participant_id, $community_id, $rel_id"