mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-16 13:09:06 +01:00
Issue #4395 - Fix call to UpdateComponentCommand with right params numbers, in silent mode
This commit is contained in:
parent
3e97a874fa
commit
4970b7bef0
@ -46,7 +46,8 @@ class ApiController extends AbstractApiController
|
||||
$component->group_id,
|
||||
$component->enabled,
|
||||
$component->meta,
|
||||
false
|
||||
$component->tags,
|
||||
true // Silent mode
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
@ -78,7 +79,8 @@ class ApiController extends AbstractApiController
|
||||
$component->group_id,
|
||||
$component->enabled,
|
||||
$component->meta,
|
||||
true
|
||||
$component->tags,
|
||||
true // Silent mode
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
Loading…
x
Reference in New Issue
Block a user