diff --git a/MetaTag/Collector.php b/MetaTag/Collector.php index 152db1b..329770a 100644 --- a/MetaTag/Collector.php +++ b/MetaTag/Collector.php @@ -64,6 +64,10 @@ public function collect( Content $content ) $contentTypeHandlers[$contentType->identifier] ); } + else + { + $allHandlers = $allHandlers['all_content_types']; + } foreach ( $allHandlers as $handler ) { diff --git a/Resources/doc/CHANGELOG.md b/Resources/doc/CHANGELOG.md index 265d363..b55e418 100644 --- a/Resources/doc/CHANGELOG.md +++ b/Resources/doc/CHANGELOG.md @@ -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