Skip to content

Commit

Permalink
fix Email::getAdminEmail() (no longer supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisDebonnet committed Mar 21, 2018
1 parent adebb21 commit 8fd0564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Email/MemberConfirmationEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function __construct($page, $member, $isSingleton = false) {
$this->member = $member;

if (!$isSingleton) {
$this->from = $page->EmailFrom ? $page->EmailFrom : Email::getAdminEmail();
$this->from = $page->EmailFrom ? $page->EmailFrom : Email::config()->get('admin_email');
$this->to = $member->Email;
$this->subject = $this->getParsedString($page->EmailSubject);
$this->body = $this->getParsedString($page->EmailTemplate);
Expand Down

0 comments on commit 8fd0564

Please sign in to comment.