mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
refactor mail sender
This commit is contained in:
@ -72,7 +72,7 @@ class MailSenderRequest extends FormRequest
|
||||
{
|
||||
$data = $this->validated();
|
||||
|
||||
if ($data['settings']['encryption'] == 'none') {
|
||||
if ($data['settings'] && $data['settings']['encryption'] == 'none') {
|
||||
$data['settings']['encryption'] = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user