Skip to content

Commit

Permalink
[impr-OpenMage#18] Properly stop profiler in Mage_Core_Model_Layout_U…
Browse files Browse the repository at this point in the history
…pdate
  • Loading branch information
tmotyl authored and edannenberg committed Oct 25, 2019
1 parent 632713b commit 68fe5f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/core/Mage/Core/Model/Layout/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ public function fetchDbLayoutUpdates($handle)
Varien_Profiler::start($_profilerKey);
$updateStr = $this->_getUpdateString($handle);
if (!$updateStr) {
Varien_Profiler::stop($_profilerKey);
return false;
}
$updateStr = '<update_xml>' . $updateStr . '</update_xml>';
Expand Down

0 comments on commit 68fe5f5

Please sign in to comment.