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

Fixes error raised when returning nil from template #884

Open
wants to merge 1 commit into
base: 1.12
Choose a base branch
from

Conversation

wetoolaguer
Copy link

Summary

Returning nil from template raises an error:

Screen Shot 2019-06-07 at 8 14 50 AM

Removed force return and converted to if statement for improved readability.

@GBH
Copy link
Member

GBH commented Jun 24, 2019

Do you mind creating a test case? It's been ages since i even looked at 1.12 code, so I don't know what's going on here.

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