Skip to content

Commit 4cb4a76

Browse files
tmotyledannenberg
authored andcommitted
[impr-OpenMage#18] Properly stop profiler in Mage_Core_Model_Layout_Update
1 parent 405d2d9 commit 4cb4a76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/core/Mage/Core/Model/Layout/Update.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ public function fetchDbLayoutUpdates($handle)
362362
Varien_Profiler::start($_profilerKey);
363363
$updateStr = $this->_getUpdateString($handle);
364364
if (!$updateStr) {
365+
Varien_Profiler::stop($_profilerKey);
365366
return false;
366367
}
367368
$updateStr = '<update_xml>' . $updateStr . '</update_xml>';

0 commit comments

Comments
 (0)