Commit 4d06beb1 by Félicie

juste one fix

parent 6651e413
......@@ -53,7 +53,7 @@ list($useraccount, $userprofile, $userpoints, $userfields) = qa_db_select_with_p
$changehandle = qa_opt('allow_change_usernames') || (!$userpoints['qposts'] && !$userpoints['aposts'] && !$userpoints['cposts']);
// The cooperator can't change his/her mail
$changemail = ((!$userpoints['qposts'] && !$userpoints['aposts'] && !$userpoints['cposts']) || qa_opt('confirm_user_emails') && $useraccount['level'] > QA_USER_LEVEL_EXPERT);
$changemail = (!$userpoints['qposts'] && !$userpoints['aposts'] && !$userpoints['cposts']);
$doconfirms = qa_opt('confirm_user_emails') && $useraccount['level'] < QA_USER_LEVEL_EXPERT;
$isconfirmed = ($useraccount['flags'] & QA_USER_FLAGS_EMAIL_CONFIRMED) ? true : false;
......
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