mirror of
https://github.com/snipe/snipe-it.git
synced 2026-05-04 21:56:05 +00:00
Return empty string if no MAIL_REPLYTO_ADDR var set
This commit is contained in:
@ -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') : '' ;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user