Browse Source

Merge pull request #889 from sergon/patch-6

Update SiteController.php
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
2426ae5f7d
  1. 2
      apps/advanced/frontend/controllers/SiteController.php

2
apps/advanced/frontend/controllers/SiteController.php

@ -164,7 +164,7 @@ class SiteController extends Controller
$headers = "From: $name <{$fromEmail}>\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-type: text/plain; charset=UTF-8";
return mail($fromEmail, $subject, $body, $headers);
return mail($email, $subject, $body, $headers);
}
return false;

Loading…
Cancel
Save