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

Fix an issue where the IMAP stream isn't reloaded after it's lost. #126

Merged
merged 1 commit into from
Mar 31, 2015
Merged

Fix an issue where the IMAP stream isn't reloaded after it's lost. #126

merged 1 commit into from
Mar 31, 2015

Conversation

kevinsmith
Copy link
Contributor

If $this->imapStream is lost, it will return 0. These conditionals evaluated 0 as a set variable, therefore they didn't reload the stream even though they should have. Using empty() instead ensures that $this->imapStream is set and not 0.

If $this->imapStream is lost, it will return 0. These conditionals evalute 0 as a set variable, therefore they don't reload the stream even though they should.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.83% when pulling f0b6c14 on kevinsmith:hotfix/fix_reset_imapstream into b5b790e on tedious:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.83% when pulling f0b6c14 on kevinsmith:hotfix/fix_reset_imapstream into b5b790e on tedious:master.

tedivm added a commit that referenced this pull request Mar 31, 2015
Fix an issue where the IMAP stream isn't reloaded after it's lost.
@tedivm tedivm merged commit 6a6d909 into tedious:master Mar 31, 2015
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.

3 participants