From c8a770ee5b096b79d808723867b8de0a92b0f8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 4 May 2020 13:02:13 +0200 Subject: [PATCH] Ensure expected value for component prop --- .../ep_products/Classes/Controller/GroupsPriceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/GroupsPriceController.php b/public/typo3conf/ext/ep_products/Classes/Controller/GroupsPriceController.php index ca811aba..067270f9 100644 --- a/public/typo3conf/ext/ep_products/Classes/Controller/GroupsPriceController.php +++ b/public/typo3conf/ext/ep_products/Classes/Controller/GroupsPriceController.php @@ -41,7 +41,7 @@ class GroupsPriceController extends ActionController }); $this->view->assign('hotel', $hotel); - $this->view->assign('configs', json_encode($configs)); + $this->view->assign('configs', json_encode(array_values($configs))); $this->view->assign('boards', json_encode($hotel->getGroupsPriceBoards()->toArray())); $this->view->assign('options', json_encode($hotel->getGroupsPriceOptions()->toArray())); }