summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
Diffstat (limited to 'run.inc')
-rwxr-xr-xrun.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.inc b/run.inc
index 58f71b0..54a33e1 100755
--- a/run.inc
+++ b/run.inc
@@ -341,7 +341,8 @@ function textbook_companion_run_form_submit($form, &$form_state)
$param['feedback_received']['example_no'] = $example_data->number;
$param['feedback_received']['feedback'] = $form_state['values']['run']['feedback'];
- $email_to = $user->mail . ', ' . variable_get('textbook_companion_emails', '');// . ', ' . user_load($proposal_data->uid)->mail. ', ' . user_load($example_data->approver_uid)->mail;
+ $email_to = $user->mail;
+ // . ', ' . user_load($proposal_data->uid)->mail. ', ' . user_load($example_data->approver_uid)->mail;
if (!drupal_mail('textbook_companion', 'feedback_received', $email_to, language_default(), $param, variable_get('textbook_companion_from_email', NULL), TRUE))
drupal_set_message('Error sending email message.', 'error');