mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 11:08:53 +01:00
Fixes #2277 - ordering of components works again
This commit is contained in:
parent
66d71b18e3
commit
08ca82ea2c
@ -44,7 +44,8 @@ class ApiController extends AbstractApiController
|
||||
$component->link,
|
||||
$component->order,
|
||||
$component->group_id,
|
||||
$component->enabled
|
||||
$component->enabled,
|
||||
$component->meta
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
@ -74,7 +75,8 @@ class ApiController extends AbstractApiController
|
||||
$component->link,
|
||||
$order + 1,
|
||||
$component->group_id,
|
||||
$component->enabled
|
||||
$component->enabled,
|
||||
$component->meta
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
Loading…
x
Reference in New Issue
Block a user