Skip to content

Commit

Permalink
Merge branch '2.1'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/CoreShop/Bundle/ProductBundle/CoreExtension/ProductUnitDefinitions.php
  • Loading branch information
dpfaffenbauer committed Jan 4, 2020
2 parents b5dfbdf + 73a0037 commit c012d50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion etc/_scripts/composer
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
set -e

echo "Validating CoreShop Suite"
composer validate --strict

if [[ "$PIMCORE_VERSION" != "dev-master" ]];
then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function preGetData($object, $params = [])
}
}

if ($data instanceof ProductUnitDefinitionsInterface) {
if ($data instanceof ProductUnitDefinitionsInterface && $object instanceof ProductInterface) {
$data->setProduct($object);
}

Expand Down

0 comments on commit c012d50

Please sign in to comment.