File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,16 @@ function _prepareLayout()
74
74
/** @var $product \Magento\Catalog\Api\Data\ProductInterface */
75
75
$ category = $ this ->getCurrentCategory ();
76
76
77
+ if (!$ category ){
78
+ return ;
79
+ }
80
+
77
81
$ tm ->addVariable (
78
82
'list ' ,
79
83
'category '
80
84
);
81
85
86
+
82
87
$ titleArray = [];
83
88
$ breadCrumbs = $ this ->_catalogData ->getBreadcrumbPath ();
84
89
Original file line number Diff line number Diff line change 16
16
"magento/framework" : " 100.0.*|100.1.*"
17
17
},
18
18
"type" : " magento2-module" ,
19
- "version" : " 2.0.1 " ,
19
+ "version" : " 2.0.2 " ,
20
20
"license" : [
21
21
" OSL-3.0" ,
22
22
" AFL-3.0"
Original file line number Diff line number Diff line change 8
8
*/
9
9
-->
10
10
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
11
- <module name =" MagePal_GoogleTagManager" setup_version =" 2.0.1 " >
11
+ <module name =" MagePal_GoogleTagManager" setup_version =" 2.0.2 " >
12
12
<sequence >
13
13
<module name =" Magento_Store" />
14
14
</sequence >
You can’t perform that action at this time.
0 commit comments