Merge pull request #12168 from inietov/fixes/error_accepting_assets

Fixed #12161 500 error when accepting assets
This commit is contained in:
snipe 2022-11-23 18:41:42 -08:00 committed by GitHub
commit d226cf189b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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') : '' ;
}
/**