From ec949d9a345f77bc18c75e4921f4a7cd3b8bf52d Mon Sep 17 00:00:00 2001 From: Jellyfrog Date: Sat, 1 May 2021 23:03:30 +0200 Subject: [PATCH] Widgets: Include variables in default view (#12818) This causes an error with the default view since it uses $id --- app/Http/Controllers/Widgets/WidgetController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Widgets/WidgetController.php b/app/Http/Controllers/Widgets/WidgetController.php index d7b53d08f1..e97d03244e 100644 --- a/app/Http/Controllers/Widgets/WidgetController.php +++ b/app/Http/Controllers/Widgets/WidgetController.php @@ -55,7 +55,7 @@ abstract class WidgetController extends Controller */ public function getSettingsView(Request $request) { - return view('widgets.settings.base'); + return view('widgets.settings.base', $this->getSettings(true)); } public function __invoke(Request $request)