diff options
author | prashant | 2015-03-19 11:41:41 +0530 |
---|---|---|
committer | prashant | 2015-03-19 11:41:41 +0530 |
commit | 2f2076c39f63e760f501aa0720d1426433073a99 (patch) | |
tree | c10b1a3ec1afe5c3430b248e47a085713104eb46 | |
parent | d5a46f344d9b5434830e4e00dab72d92cab0ef19 (diff) | |
download | cloud-comments-2f2076c39f63e760f501aa0720d1426433073a99.tar.gz cloud-comments-2f2076c39f63e760f501aa0720d1426433073a99.tar.bz2 cloud-comments-2f2076c39f63e760f501aa0720d1426433073a99.zip |
-rwxr-xr-x | cloud_comments.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloud_comments.module b/cloud_comments.module index 5eb556b..2addaf9 100755 --- a/cloud_comments.module +++ b/cloud_comments.module @@ -142,7 +142,7 @@ function cloud_comments_reply_form($form_state, $comment_id) { function cloud_comments_reply_form_submit($form, &$form_state) { global $user; - $query = "UPDATE {scilab_cloud_comment} SET reply = '%s', user= '%s' reply_status = 1 WHERE id = %d"; + $query = "UPDATE {scilab_cloud_comment} SET reply = '%s', user= '%s', reply_status = 1 WHERE id = %d"; $query_result = db_query($query, $form_state["values"]["content"], $user->name, $form_state["values"]["hidden"]); $email_query = "SELECT email FROM {scilab_cloud_comment} WHERE id = %d"; @@ -154,6 +154,7 @@ function cloud_comments_reply_form_submit($form, &$form_state) { 'subject' => t("Comment Reply"), 'body' => t($form_state["values"]["content"]), 'headers' => array("From" => "textbook@scilab.in", "Content-type" => "text/html; charset=iso-8859-1") + ); drupal_mail_send($message); |