mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-23 20:10:52 +00:00
Bruno Fontes
3d6b0dbeca
Some PHP version or configuration were causing this error. On app.blade.php of local branch, I could use "$usedItems ? :" even if $usedItems were null, but I had to check an "isset" to the production. On HomecController, I had to change the "object" parameter of getUsername to "\Illuminate\Database\Eloquent\Collection" to make it work. I took the chance to just show the number of itens in use if it were greater than 0. |
||
---|---|---|
app | ||
bootstrap | ||
config | ||
database | ||
public | ||
resources | ||
routes | ||
storage | ||
tests | ||
.editorconfig | ||
.env.example | ||
.gitattributes | ||
.gitignore | ||
artisan | ||
composer.json | ||
composer.lock | ||
package.json | ||
phpunit.xml | ||
readme.md | ||
server.php | ||
webpack.mix.js | ||
yarn.lock |