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 Aug 22, 2019
1 parent fef4c95 commit 10fcdb3
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 10fcdb3

Please sign in to comment.