diff --git a/lib/internal/Magento/Framework/View/Layout.php b/lib/internal/Magento/Framework/View/Layout.php index ff75afafbe689..ee68ef2cbdcc2 100755 --- a/lib/internal/Magento/Framework/View/Layout.php +++ b/lib/internal/Magento/Framework/View/Layout.php @@ -517,7 +517,7 @@ public function renderNonCachedElement($name) } elseif ($this->isBlock($name)) { $result = $this->_renderBlock($name); } else { - $result = $this->_renderContainer($name); + $result = $this->_renderContainer($name, false); } } catch (\Exception $e) { if ($this->appState->getMode() === AppState::MODE_DEVELOPER) { @@ -559,14 +559,15 @@ protected function _renderUiComponent($name) * Gets HTML of container element * * @param string $name + * @param bool $useCache * @return string */ - protected function _renderContainer($name) + protected function _renderContainer($name, $useCache = true) { $html = ''; $children = $this->getChildNames($name); foreach ($children as $child) { - $html .= $this->renderElement($child); + $html .= $this->renderElement($child, $useCache); } if ($html == '' || !$this->structure->getAttribute($name, Element::CONTAINER_OPT_HTML_TAG)) { return $html;