diff --git a/app/code/community/Tawk/Widget/Block/Embed.php b/app/code/community/Tawk/Widget/Block/Embed.php index 893071c..cec62b6 100644 --- a/app/code/community/Tawk/Widget/Block/Embed.php +++ b/app/code/community/Tawk/Widget/Block/Embed.php @@ -39,7 +39,7 @@ private function getWidgetModel() { $websiteId = $store->getWebsite()->getId(); //order in which we select widget - $ids = [$websiteId.'_'.$groupId.'_'.$storeId, $websiteId.'_'.$groupId, $websiteId, 'global']; + $ids = array($websiteId.'_'.$groupId.'_'.$storeId, $websiteId.'_'.$groupId, $websiteId, 'global'); foreach ($ids as $id) { $model = Mage::getModel('tawkwidget/widget')->loadByForStoreId($id);