shareit/app/Http
Bruno Fontes 3d6b0dbeca
Fixed bug causing error 500 on production
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.
2018-10-16 20:28:59 -03:00
..
Controllers Fixed bug causing error 500 on production 2018-10-16 20:28:59 -03:00
Middleware Refactoring: just including "use App" to make code a bit cleaner 2018-10-02 23:49:16 -03:00
Kernel.php Starting to add localization into PTB 2018-09-26 23:06:38 -03:00