diff --git a/app/code/community/Lesti/Fpc/Model/Observer.php b/app/code/community/Lesti/Fpc/Model/Observer.php index cbb0ba1..f91a81b 100755 --- a/app/code/community/Lesti/Fpc/Model/Observer.php +++ b/app/code/community/Lesti/Fpc/Model/Observer.php @@ -212,10 +212,7 @@ protected function _prepareLayout( array $dynamicBlocks ) { - $xml = simplexml_load_string( - $layout->getXmlString(), - Lesti_Fpc_Helper_Data::LAYOUT_ELEMENT_CLASS - ); + $xml = $layout->getNode(); $cleanXml = simplexml_load_string( '', Lesti_Fpc_Helper_Data::LAYOUT_ELEMENT_CLASS