I have a code that was working fine in PHP 5. But I updated my system and now I'm using PHP 7. The problem happens in every Blade code that uses or
statement and the variable is not directly read from the object. In this situation, Blade always echoes the default value.
For example:
Result in PHP 5:
Santa Catarina
Result in PHP 7:
-
I'm using Laravel 5.1 and all the data stored in DB is the same for both results. Any ideas?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire