Skip to content

Commit

Permalink
fix err (null when array expected) on Run Upgrades at Modules grid
Browse files Browse the repository at this point in the history
  • Loading branch information
tangar76 committed Jan 29, 2017
1 parent dec28d1 commit 52c0a47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/community/TM/Core/Model/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ public function getStores()
*/
public function getNewStores()
{
return $this->getNewStoreIds();
$storeIds = $this->getNewStoreIds();
return is_null($storeIds) ? array() : $storeIds;
}

public function isInstalled()
Expand Down

0 comments on commit 52c0a47

Please sign in to comment.