Commit c44b9791 by Félicie

mail revoved

parent 1b490a48
...@@ -297,8 +297,8 @@ if (!isset($userid) && qa_opt('allow_anonymous_naming')) { ...@@ -297,8 +297,8 @@ if (!isset($userid) && qa_opt('allow_anonymous_naming')) {
qa_set_up_name_field($qa_content, $qa_content['form']['fields'], @$in['name']); qa_set_up_name_field($qa_content, $qa_content['form']['fields'], @$in['name']);
} }
qa_set_up_notify_fields($qa_content, $qa_content['form']['fields'], 'Q', qa_get_logged_in_email(), // qa_set_up_notify_fields($qa_content, $qa_content['form']['fields'], 'Q', qa_get_logged_in_email(),
isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email']); // isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email']);
if ($captchareason) { if ($captchareason) {
require_once QA_INCLUDE_DIR.'app/captcha.php'; require_once QA_INCLUDE_DIR.'app/captcha.php';
......
...@@ -980,8 +980,8 @@ function qa_page_q_add_a_form(&$qa_content, $formid, $captchareason, $question, ...@@ -980,8 +980,8 @@ function qa_page_q_add_a_form(&$qa_content, $formid, $captchareason, $question,
if (!qa_is_logged_in() && qa_opt('allow_anonymous_naming')) if (!qa_is_logged_in() && qa_opt('allow_anonymous_naming'))
qa_set_up_name_field($qa_content, $form['fields'], @$in['name'], 'a_'); qa_set_up_name_field($qa_content, $form['fields'], @$in['name'], 'a_');
qa_set_up_notify_fields($qa_content, $form['fields'], 'A', qa_get_logged_in_email(), // qa_set_up_notify_fields($qa_content, $form['fields'], 'A', qa_get_logged_in_email(),
isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], 'a_'); // isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], 'a_');
$onloads = array(); $onloads = array();
...@@ -1130,8 +1130,8 @@ function qa_page_q_add_c_form(&$qa_content, $question, $parent, $formid, $captch ...@@ -1130,8 +1130,8 @@ function qa_page_q_add_c_form(&$qa_content, $question, $parent, $formid, $captch
if (!qa_is_logged_in() && qa_opt('allow_anonymous_naming')) if (!qa_is_logged_in() && qa_opt('allow_anonymous_naming'))
qa_set_up_name_field($qa_content, $form['fields'], @$in['name'], $prefix); qa_set_up_name_field($qa_content, $form['fields'], @$in['name'], $prefix);
qa_set_up_notify_fields($qa_content, $form['fields'], 'C', qa_get_logged_in_email(), // qa_set_up_notify_fields($qa_content, $form['fields'], 'C', qa_get_logged_in_email(),
isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], $prefix); // isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], $prefix);
$onloads = array(); $onloads = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment