modified: app/Http/Controllers/HomeController.php
This commit is contained in:
parent
4e93e49809
commit
ba5256714b
@ -23,7 +23,7 @@ class HomeController extends Controller {
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$values = json_decode(Cookie::get('trophee'));
|
$values = json_decode(Cookie::get('trophee'));
|
||||||
if ($values === false)
|
if (!is_array($values))
|
||||||
$values = [0, 0, 0];
|
$values = [0, 0, 0];
|
||||||
|
|
||||||
$nbOr = $values[2];
|
$nbOr = $values[2];
|
||||||
|
Reference in New Issue
Block a user