diff --git a/lib/internal/Magento/Framework/View/Layout.php b/lib/internal/Magento/Framework/View/Layout.php index ca5a6e31f1cb1..bd94491537efe 100755 --- a/lib/internal/Magento/Framework/View/Layout.php +++ b/lib/internal/Magento/Framework/View/Layout.php @@ -533,7 +533,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) { @@ -575,14 +575,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;