File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,14 @@ public function collect( Content $content )
5151 {
5252 $ metaTags = array ();
5353
54- $ allHandlers = $ this ->configResolver ->getParameter ( 'global_handlers ' , 'netgen_open_graph ' );
54+ $ allHandlers = $ this ->configResolver ->hasParameter ( 'global_handlers ' , 'netgen_open_graph ' ) ?
55+ $ this ->configResolver ->getParameter ( 'global_handlers ' , 'netgen_open_graph ' ) :
56+ array ( 'all_content_types ' => array () );
5557
5658 $ contentType = $ this ->contentTypeService ->loadContentType ( $ content ->contentInfo ->contentTypeId );
57- $ contentTypeHandlers = $ this ->configResolver ->getParameter ( 'content_type_handlers ' , 'netgen_open_graph ' );
59+ $ contentTypeHandlers = $ this ->configResolver ->hasParameter ( 'content_type_handlers ' , 'netgen_open_graph ' ) ?
60+ $ this ->configResolver ->getParameter ( 'content_type_handlers ' , 'netgen_open_graph ' ) :
61+ array ();
5862
5963 if ( isset ( $ contentTypeHandlers [$ contentType ->identifier ] ) )
6064 {
Original file line number Diff line number Diff line change 11Netgen Open Graph Bundle changelog
22==================================
33
4+ ## 1.1.2 (13.10.2015)
5+
6+ * Fix ` E_WARNING ` in meta tag collector if semantic config does not exist
7+
48## 1.1.1 (17.08.2015)
59
610* Make sure ` ezimage ` field type handler generates full image URI even when variation returns the relative URI
You can’t perform that action at this time.
0 commit comments