mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 07:50:54 -03:00
3d6b0dbeca80b8330f77b570920fcf8f4a2aa20f
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.
Share It
Just a simple tool to share items with friends.
It is my first try with Laravel, so I am just learning it. :)
More information about Share It here.
Description
Languages
PHP
75.8%
Blade
23.8%
Shell
0.4%