Commit 68efd05a authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Send fromemail not fromaddress in contact us activity

parent 82f287b6
......@@ -93,7 +93,7 @@ $contactform = pieform(array(
function contactus_submit(Pieform $form, $values) {
$data = new StdClass;
$data->fromname = $values['name'];
$data->fromaddress = $values['email'];
$data->fromemail = $values['email'];
$data->subject = $values['subject'];
$data->message = $values['message'];
if ($values['userid']) {
......
Supports Markdown
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