From a8bfc6f0e737dd0fb7af32d4c10e744da786c9bd Mon Sep 17 00:00:00 2001 From: Dominik Pfaffenbauer Date: Wed, 28 Aug 2019 09:34:03 +0200 Subject: [PATCH] [ResourceBundle] fix resource-select options --- .../ResourceBundle/CoreExtension/Document/Select.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CoreShop/Bundle/ResourceBundle/CoreExtension/Document/Select.php b/src/CoreShop/Bundle/ResourceBundle/CoreExtension/Document/Select.php index 0e21dc9fb1..06d1bb206b 100644 --- a/src/CoreShop/Bundle/ResourceBundle/CoreExtension/Document/Select.php +++ b/src/CoreShop/Bundle/ResourceBundle/CoreExtension/Document/Select.php @@ -101,10 +101,11 @@ public function getOptions() $this->getResourceName($resource), ]; } + $options = parent::getOptions(); - return [ - 'store' => $result, - ]; + $options['store'] = $result; + + return $options; } /**