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 ingredient boolean preview text #2367

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Sep 2, 2022

What is this pull request for?

If the translation is missing I18n returns a boolean instead
of a string. Cast to string unless the value is nil.

Closes #2329

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

If the translation is missing I18n returns a boolean instead
of a string. Cast to string unless the value is nil.

Closes AlchemyCMS#2329
@tvdeyen tvdeyen merged commit 32e32b4 into AlchemyCMS:main Sep 4, 2022
@tvdeyen tvdeyen deleted the fix-boolean-preview-text branch September 4, 2022 09:17
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.

Exception raised when boolean ingredient is used for element preview text
2 participants