From 30f399cb4a16594939702255fd4bf97e259df53e Mon Sep 17 00:00:00 2001 From: Dainis Tillers Date: Thu, 22 Jan 2015 13:21:10 +0200 Subject: [PATCH] Fixed - use old style of array creation --- app/code/community/Tawk/Widget/Block/Embed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);