Skip to content

Commit

Permalink
Fix exception on pages where open graph tags are not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Apr 22, 2015
1 parent 39b6bf6 commit 7b5c5f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MetaTag/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ public function collect( Content $content )
$contentTypeHandlers[$contentType->identifier]
);
}
else
{
$allHandlers = $allHandlers['all_content_types'];
}

foreach ( $allHandlers as $handler )
{
Expand Down
4 changes: 4 additions & 0 deletions Resources/doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Netgen Open Graph Bundle changelog
==================================

## 1.0.3 (22.04.2015)

* Fix exception on pages where open graph tags are not configured (caused by fix in `1.0.2`)

## 1.0.2 (22.04.2015)

* Fix an edge case bug where some handler configuration could be duplicated
Expand Down

0 comments on commit 7b5c5f4

Please sign in to comment.