From 4970b7bef06b3dc973a1d588933435a2ad2e91a4 Mon Sep 17 00:00:00 2001 From: Pierre POMES Date: Tue, 11 Jun 2024 15:32:29 -0400 Subject: [PATCH] Issue #4395 - Fix call to UpdateComponentCommand with right params numbers, in silent mode --- app/Http/Controllers/Dashboard/ApiController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Dashboard/ApiController.php b/app/Http/Controllers/Dashboard/ApiController.php index 7c92b2c8d339..4e59a7a40c17 100644 --- a/app/Http/Controllers/Dashboard/ApiController.php +++ b/app/Http/Controllers/Dashboard/ApiController.php @@ -46,7 +46,8 @@ public function postUpdateComponent(Component $component) $component->group_id, $component->enabled, $component->meta, - false + $component->tags, + true // Silent mode )); } catch (QueryException $e) { throw new BadRequestHttpException(); @@ -78,7 +79,8 @@ public function postUpdateComponentOrder() $component->group_id, $component->enabled, $component->meta, - true + $component->tags, + true // Silent mode )); } catch (QueryException $e) { throw new BadRequestHttpException();