diff --git a/Block/JavascriptSnippet.php b/Block/JavascriptSnippet.php index 52aeae5..8920f61 100644 --- a/Block/JavascriptSnippet.php +++ b/Block/JavascriptSnippet.php @@ -20,15 +20,13 @@ class JavascriptSnippet extends Template { /** * Return the JavaScript snippet code without the '), + [''], '', - $this->_scopeConfig->getValue('recolize_recommendation_engine/general/javascript_snippet', \Magento\Store\Model\ScopeInterface::SCOPE_STORE) + (string)$this->_scopeConfig->getValue('recolize_recommendation_engine/general/javascript_snippet', \Magento\Store\Model\ScopeInterface::SCOPE_STORE) ); } } diff --git a/composer.json b/composer.json index dec7a19..24ef888 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "recolize/module-recommendation-engine-magento2", - "description": "The Recolize Recommendation Engine as extension for Magento 2", - "version": "1.1.1", + "description": "The Recolize Recommendation Engine Extension for Magento 2", + "version": "1.1.2", "type": "magento2-module", "keywords": [ "recolize", diff --git a/etc/module.xml b/etc/module.xml index 17b3067..f1864d1 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - +