Return empty string if no MAIL_REPLYTO_ADDR var set
This commit is contained in:
parent
e426846c23
commit
c082d8b90e
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class CheckoutAcceptance extends Model
|
|||
{
|
||||
// At this point the endpoint is the same for everything.
|
||||
// In the future this may want to be adapted for individual notifications.
|
||||
return config('mail.reply_to.address');
|
||||
return (config('mail.reply_to.address')) ? config('mail.reply_to.address') : '' ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue