Skip to content

Commit

Permalink
Fix one more bug in prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Nov 18, 2016
1 parent 336be8e commit 2ce3134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core/Matcher/ContentTypeGroupMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected function findContentTypeGroupsByIdentifier(array $contentTypeGroupIden

foreach ($contentTypeGroupIdentifiers as $contentTypeGroupIdentifier) {
// return unique contents
$contentTypeGroup = $this->repository->getContentTypeService()->loadContentTypeGroupByIdentifier($contentTypeGroupIdentifiers);
$contentTypeGroup = $this->repository->getContentTypeService()->loadContentTypeGroupByIdentifier($contentTypeGroupIdentifier);
$contentTypeGroups[$contentTypeGroup->id] = $contentTypeGroup;
}

Expand Down
4 changes: 3 additions & 1 deletion Tests/dsl/good/UnitTestOK013_content_type_group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
-
identifier: test_group_id
attribute: id

-
identifier: test_group_identifier
attribute: identifier
-
type: content_type_group
mode: delete
Expand Down

0 comments on commit 2ce3134

Please sign in to comment.