Fixes #2277 - ordering of components works again

This commit is contained in:
James Brooks 2016-12-26 12:25:01 +00:00
parent 66d71b18e3
commit 08ca82ea2c

View File

@ -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();