Skip to content

Commit

Permalink
Update SiteController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gonimar committed Sep 18, 2013
1 parent 3a347c3 commit 41e2c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/advanced/frontend/controllers/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function sendPasswordResetEmail($email)
$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;
Expand Down

0 comments on commit 41e2c41

Please sign in to comment.