From 41e2c41002fc11defdf327b933a36f705de5cfe2 Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 18 Sep 2013 22:18:12 +0600 Subject: [PATCH] Update SiteController.php --- apps/advanced/frontend/controllers/SiteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/advanced/frontend/controllers/SiteController.php b/apps/advanced/frontend/controllers/SiteController.php index be9a634..a9413de 100644 --- a/apps/advanced/frontend/controllers/SiteController.php +++ b/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;