Commit b69a8e39 authored by Dries's avatar Dries
Browse files

- Patch #149588 by David Lesieur: corrected API after FAPI changes.

parent 85e6683d
......@@ -326,7 +326,7 @@ function contact_user_page($account) {
return $output;
}
function contact_mail_user($recipient) {
function contact_mail_user(&$form_state, $recipient) {
global $user;
$form['#token'] = $user->name . $user->mail;
$form['from'] = array('#type' => 'item',
......
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