Skip to content

Commit

Permalink
Fixed - use old style of array creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dainis Tillers committed Jan 22, 2015
1 parent c27f241 commit 30f399c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/community/Tawk/Widget/Block/Embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 30f399c

Please sign in to comment.