File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/internal/Magento/Framework/View Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ public function renderNonCachedElement($name)
533
533
} elseif ($ this ->isBlock ($ name )) {
534
534
$ result = $ this ->_renderBlock ($ name );
535
535
} else {
536
- $ result = $ this ->_renderContainer ($ name );
536
+ $ result = $ this ->_renderContainer ($ name, false );
537
537
}
538
538
} catch (\Exception $ e ) {
539
539
if ($ this ->appState ->getMode () === AppState::MODE_DEVELOPER ) {
@@ -575,14 +575,15 @@ protected function _renderUiComponent($name)
575
575
* Gets HTML of container element
576
576
*
577
577
* @param string $name
578
+ * @param bool $useCache
578
579
* @return string
579
580
*/
580
- protected function _renderContainer ($ name )
581
+ protected function _renderContainer ($ name, $ useCache = true )
581
582
{
582
583
$ html = '' ;
583
584
$ children = $ this ->getChildNames ($ name );
584
585
foreach ($ children as $ child ) {
585
- $ html .= $ this ->renderElement ($ child );
586
+ $ html .= $ this ->renderElement ($ child, $ useCache );
586
587
}
587
588
if ($ html == '' || !$ this ->structure ->getAttribute ($ name , Element::CONTAINER_OPT_HTML_TAG )) {
588
589
return $ html ;
You can’t perform that action at this time.
0 commit comments