From 36194efbd8bb60d8c35137c70f6c7fffc1415744 Mon Sep 17 00:00:00 2001 From: cp6 Date: Tue, 19 Jul 2022 15:55:37 +1000 Subject: [PATCH] Updated Shared for data index Updated Shared for data index --- app/Http/Controllers/SharedController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SharedController.php b/app/Http/Controllers/SharedController.php index 0a3f26e..6b824f9 100644 --- a/app/Http/Controllers/SharedController.php +++ b/app/Http/Controllers/SharedController.php @@ -97,7 +97,7 @@ class SharedController extends Controller public function edit(Shared $shared) { - $shared = Shared::sharedHosting($shared->id); + $shared = Shared::sharedHosting($shared->id)[0]; return view('shared.edit', compact(['shared'])); }