Cast getConfigData in velocity helper
This commit is contained in:
parent
e15fe96499
commit
2e23a17257
|
|
@ -298,7 +298,7 @@ class Helper extends Review
|
|||
'product' => $product,
|
||||
'addWishlistClass' => ! (isset($list) && $list) ? '' : '',
|
||||
|
||||
'showCompare' => core()->getConfigData('general.content.shop.compare_option') == '1',
|
||||
'showCompare' => (bool) core()->getConfigData('general.content.shop.compare_option'),
|
||||
|
||||
'btnText' => (isset($metaInformation['btnText']) && $metaInformation['btnText'])
|
||||
? $metaInformation['btnText'] : null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue