Skip to content

Commit

Permalink
Use email in system parameter as sender email
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Jun 5, 2023
1 parent 1e619fd commit 781d02e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/vendors/shells/send_emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ function main()
$from_id = $e['from'];
$event_id = $e['event_id'];

$from = $this->User->getEmails($from_id);
$from = (isset($from[$from_id]) && empty($from[$from_id])) ? $defaultFrom : $from[$from_id];
$from = $defaultFrom;

//Returns the modified emaillist if the list contains the 'save_reminder' param, else returns $e['to']
$filter_email_list = $this->reminderFilter($event_id, $e['to'], $e['id'], $e['date']);
Expand Down

0 comments on commit 781d02e

Please sign in to comment.