From ec2947936b4634162f07d602e5f3bceb2b99a468 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sat, 9 Sep 2023 23:14:07 +1000 Subject: [PATCH] Fix for accessing an object instead of an array Fix for accessing an object instead of an array --- resources/views/locations/index.blade.php | 8 ++++---- resources/views/os/index.blade.php | 6 +++--- resources/views/providers/index.blade.php | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/resources/views/locations/index.blade.php b/resources/views/locations/index.blade.php index f5b50f8..6461e07 100644 --- a/resources/views/locations/index.blade.php +++ b/resources/views/locations/index.blade.php @@ -18,14 +18,14 @@ @if(!empty($locations)) @foreach($locations as $location) - {{ $location->name }} + {{ $location['name'] }} -
- + + id="{{$location['id']}}" title="{{$location['name']}}">
diff --git a/resources/views/os/index.blade.php b/resources/views/os/index.blade.php index 8259029..44811bb 100644 --- a/resources/views/os/index.blade.php +++ b/resources/views/os/index.blade.php @@ -18,11 +18,11 @@ @if(!empty($os)) @foreach($os as $o) - {{ $o->name }} + {{ $o['name'] }} -
+ + id="{{$o['id']}}" title="{{$o['name']}}">
diff --git a/resources/views/providers/index.blade.php b/resources/views/providers/index.blade.php index 2661673..3d8be9a 100644 --- a/resources/views/providers/index.blade.php +++ b/resources/views/providers/index.blade.php @@ -18,14 +18,14 @@ @if(!empty($providers)) @foreach($providers as $provider) - {{ $provider->name }} + {{ $provider['name'] }} -
- + + id="{{$provider['id']}}" title="{{$provider['name']}}">