Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow testToEmailAddress to be false #3910

Merged
merged 1 commit into from
Feb 26, 2019
Merged

Don't allow testToEmailAddress to be false #3910

merged 1 commit into from
Feb 26, 2019

Conversation

timkelty
Copy link
Contributor

@timkelty timkelty commented Feb 26, 2019

This caused some confusion, as I had a line like this in my config:

'testToEmailAddress' => getenv('TEST_TO_EMAIL_ADDRESS'),

Since getenv returns false if not found, this results in:

$to = [0 => 'Test Recipient']

@brandonkelly brandonkelly merged commit f6023b9 into craftcms:develop Feb 26, 2019
brandonkelly added a commit that referenced this pull request Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants