Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Check for array value before using it #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Check for array value before using it #3

wants to merge 2 commits into from

Conversation

cjhaas
Copy link

@cjhaas cjhaas commented Jan 11, 2017

If the Send directly without waiting for cronjob to process queue checkbox isn't checked the value is never POST'ed to the server. In PHP 7 (at least on my development server) that gives me:

ContextErrorException in SMTPMailingQueueTools.php line 207:
Notice: Undefined index: dont_wait

This PR checks the array before using it.

@lubobill1990
Copy link

@hildende Hi hildende, do you think this MR is ready for acception?

lubobill1990 added a commit to lubobill1990/smtp-mailing-queue that referenced this pull request Jul 30, 2017
…ut inject SMTPMailingQueue to other classes when new instances

2. add changes from hildende#3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants