We have updated today from 4.1 to 4.2. But now the following code doesn't give the same result.
{{ $testdata->texts['opgave'] or '' }}
In 4.1, the text in $testdata->texts['opgave'] was printed succesfully.
In 4.2, it just prints 1.
Any ideas?
Thanks.
Seems that using " instead of ' for the array does fix the problem.
{{ $testdata->texts["opgave"] or '' }}
Seems this was needed to fix another problem: https://github.com/laravel/framework/pull/5224
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community