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

Avoid twig deprecation warning #911

Merged
merged 1 commit into from
Dec 13, 2018
Merged

Avoid twig deprecation warning #911

merged 1 commit into from
Dec 13, 2018

Conversation

silvioq
Copy link
Contributor

@silvioq silvioq commented Oct 25, 2018

Using "is defined" for prevent twig deprecation message:

Silent display of undefined block "modal_footer" in template "modals/modal.html.twig" is deprecated since version 1.29 and will throw an exception in 2.0. Use the "block('modal_footer') is defined" expression to test for block existence

twigphp/Twig@ae9b503

Using "is defined" for prevent twig deprecation message:

`Silent display of undefined block "modal_footer" in template "modals/modal.html.twig" is deprecated since version 1.29 and will throw an exception in 2.0. Use the "block('modal_footer') is defined" expression to test for block existence`

twigphp/Twig@ae9b503
@lcharette
Copy link
Member

(Ref #910)

@lcharette lcharette self-assigned this Oct 25, 2018
@lcharette lcharette added compatibility Compatibility issue with other framework, features templating Related to the template feature labels Oct 25, 2018
@lcharette lcharette added this to the 4.1.x milestone Oct 25, 2018
@lcharette lcharette merged commit 07f42f2 into userfrosting:hotfix Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility issue with other framework, features templating Related to the template feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants