Skip to content

Commit

Permalink
FIX issue #13 - Errors while adding a new storeview
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Tempesta authored and Riccardo Tempesta committed Sep 22, 2016
1 parent 963ef64 commit 5ed5a7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/community/MSP/DevTools/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<config>
<modules>
<MSP_DevTools>
<version>0.1.11</version>
<version>0.1.12</version>
</MSP_DevTools>
</modules>
<global>
Expand Down
4 changes: 4 additions & 0 deletions app/code/community/Varien/Profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ public static function getTimerId($stack = null)

protected static function _getObservers($area, $eventName)
{
if (!Mage::app()->getConfig()->getNode($area)) {
return array();
}

$observers = array();
$observersConfig = Mage::app()->getConfig()->getEventConfig($area, $eventName);

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "msp/devtools-m1",
"version": "0.1.11",
"version": "0.1.12",
"description": "MageSpecialist DevTools for Magento 1",
"type": "magento-module",
"license": "OSL 3.0",
Expand Down

0 comments on commit 5ed5a7e

Please sign in to comment.