diff --git a/code/Debug/Block/Abstract.php b/code/Debug/Block/Abstract.php index 8414598..bc2d359 100644 --- a/code/Debug/Block/Abstract.php +++ b/code/Debug/Block/Abstract.php @@ -39,6 +39,18 @@ public function getCacheLifetime() return null; } + /** + * Retrieve application instance + * + * Method added to support Magento CE 1.7 + * + * @return Mage_Core_Model_App + */ + protected function _getApp() + { + return Mage::app(); + } + /** * Returns id for default configured store