Skip to content

Conversation

@themsaid
Copy link
Member

@themsaid themsaid commented Mar 7, 2017

In reference to #18234

if you do @slot('name', $variable) while $variable the code in else will be executed and output buffering will start causing the blade rendering to break.

@taylorotwell taylorotwell merged commit aabfebe into laravel:5.4 Mar 8, 2017
@browner12
Copy link
Contributor

i think you may have missed a word or two in your explanation @themsaid so just to clear this up, this occurs when $variable is null?

@AlbertMarashi
Copy link

@browner12 yes correct, or "" I believe

@AlbertMarashi
Copy link

@themsaid will composer update fix this?

@browner12
Copy link
Contributor

you'll just have to wait until a new release is tagged.

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.

4 participants