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

Conversation

Projects
None yet
2 participants
@silvioq
Copy link
Contributor

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

Avoid twig deprecation warning
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

This comment has been minimized.

Copy link
Member

lcharette commented Oct 25, 2018

(Ref #910)

@lcharette lcharette self-assigned this 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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment