summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanage_proposal.inc5
-rwxr-xr-xtextbook_companion.module2
2 files changed, 4 insertions, 3 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc
index 335cdef..14f21b2 100755
--- a/manage_proposal.inc
+++ b/manage_proposal.inc
@@ -560,7 +560,7 @@ function proposal_approval_form_submit($form, &$form_state)
'Cc' => $cc,
'Bcc' => $bcc
);
- var_dump($param);die;
+ //var_dump($param);die;
if (!drupal_mail('textbook_companion', 'proposal_approved', $email_to, language_default(), $param, $from, TRUE))
drupal_set_message('Error sending email message.', 'error');
drupal_set_message('Book proposal approved. User has been notified of the approval', 'status');
@@ -811,7 +811,7 @@ function proposal_status_form_submit($form, &$form_state)
$num_updated = $query->execute();
/* sending email */
$book_user = user_load($proposal_data->uid);
- $from = variable_get('textbook_companion_from_email', '');
+ $from = variable_get('textbook_companion_from_email', '');
$bcc = variable_get('textbook_companion_emails', '');
$cc = variable_get('textbook_companion_cc_emails', '');
$params['all_code_submitted_status_changed']['proposal_id'] = $proposal_id;
@@ -826,6 +826,7 @@ function proposal_status_form_submit($form, &$form_state)
'Bcc' => $bcc
);
$email_to = $book_user->mail;
+ //var_dump($params['all_code_submitted_status_changed']['headers']);die;
if (!drupal_mail('textbook_companion', 'all_code_submitted_status_changed', $email_to, language_default(), $params, $from, TRUE))
drupal_set_message('Error sending email message.', 'error');
drupal_set_message('User has been notified of that code submission interface is now available .', 'status');
diff --git a/textbook_companion.module b/textbook_companion.module
index 73e57f1..2b8fa24 100755
--- a/textbook_companion.module
+++ b/textbook_companion.module
@@ -2999,7 +2999,7 @@ FOSSEE,IIT Bombay', array(
'body' => t('
Dear !user_name,
-Your interface for code submission has been enabled by the reviewer, you can now able to send more code for this book.
+Your interface for code submission has been enabled by the reviewer, you can now send more code for this book.
Full Name : ' . $proposal_data->full_name . '
Email : ' . $user_data->mail . '